After creating and managing your domains, you can authenticate and validate them. You need a valid domain name to authenticate. For the public endpoints, see API reference > Domains.
Send a GET request to https://api.brevo.com/v3/senders/domains/{domainName} to validate your domain. Use the cURL request below:
This endpoint returns the configuration of a specific domain. The only attribute is domainName, which you append to the URL in the cURL request:
Response
Sample response:
The JSON response shows the domain configuration along with verification and authentication status. Response codes:
Send a PUT request to https://api.brevo.com/v3/senders/domains/{domainName}/authenticate to authenticate a domain. Use the cURL request below:
Add the domainName attribute to the URL as in https://api.brevo.com/v3/senders/domains/{domainName}/authenticate. The attribute:
Three ways to authenticate your domain:
Response
Sample response:
Response codes: