Mark a Tracking Domain as Default

This API allows you to mark a tracking domain of your choice as default.

Request Type

  • PUT

Request URL

https://campaigns.zoho.com/emailapi/v1/settings/domain/tracking/default

Content-Type

application/json

List of Request Body Attributes

ParametersData TypeDescription
tracking_domainStringName of the tracking domain.

List of Response Body Attributes

ParametersData TypeDescription
responseJSON ObjectContains the response details of the API.
codeIntegerSuccess or failure code.
messageStringSuccess or failure message returned by the API.
errorsJSON ArrayContains the error details of the API such as 'code' and 'message'.

Sample Response - Success

Copied{
  "tracking_domain": "zylker.in"
}

Sample Response - Success

Copied{
  "response": {
    "code": 200108,
    "message": "Default tracking domain enabled successfully"
  }
}

Sample Response - Failure

Copied{
  "errors": [
    {
      "code": 400104,
      "message": "No such domain configured"
    }
  ]
}