Verifying a sending domain
Verify your sender domain to start sending emails to your recipients.
Request Type
POST
Request URL
https://campaigns.zoho.com/emailapi/v2/settings/domain/verify
Content-Type
application/json
List of Request Body Attributes
Parameters | Data Type | Description |
domain* | String | Name of the domain from which emails will be sent. It will be displayed in the "From" header of the email. |
List of Response Body Attributes
Parameters | Data Type | Description |
verify_result | JSON Object | Contains the sending and bounce domain details. |
sending_domain | Boolean | Returns a true or false value depending on the domain's verification status. |
bounce_domain | Boolean | Returns a true or false value depending on the domain's verification status. |
response | JSON Object | Contains the response details of the API. |
code | Integer | Success or failure code. |
message | String | Success or failure message returned by the API. |
Possible Errors
Error Codes | Description |
400101 | Domain name not provided |
400102 | Invalid domain name |
400104 | No such domain configured |
400106 | Domain already verified in another org |
400107 | Domain verification failed due to missing public key in DNS |
Sample Request Payload
Copied
Sample Response - Success
Copied
Sample Response - Failure
Copied