> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.brevo.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.brevo.com/_mcp/server.

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](/reference/get-domain-configuration).

## 1. Validate domain configuration

Send a `GET` request to `https://api.brevo.com/v3/senders/domains/{domainName}` to validate your domain. Use the cURL request below:

```curl
curl --request GET \
     --url https://api.brevo.com/v3/senders/domains/mycompany.com \
     --header 'accept: application/json' \
     --header 'api-key: '
```

This endpoint returns the configuration of a specific domain. The only attribute is `domainName`, which you append to the URL in the cURL request:

| Attribute    | Datatype | Description        | Value         |
| :----------- | :------- | :----------------- | :------------ |
| `domainName` | String   | Name of the domain | mycompany.com |

\


**Response**

Sample response:

```json
{
  "domain": "mycompany.com",
  "verified": false,
  "authenticated": false,
  "dns_records": {
    "dkim_record": {
      "type": "TXT",
      "value": "k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDeMVIzrCa3T14JsNY0IRv5/2V1/v2itlviLQBwXsa7shBD6TrBkswsFUToPyMRWC9tbR/5ey0nRBH0ZVxp+lsmTxid2Y2z+FApQ6ra2VsXfbJP3HE6wAO0YTVEJt1TmeczhEd2Jiz/fcabIISgXEdSpTYJhb0ct0VJRxcg4c8c7wIDAQAB",
      "host_name": "mail._domainkey.",
      "status": false
    },
    "brevo_code": {
      "type": "TXT",
      "value": "brevo-code:e760f020e6d438149540cfc757e99b5a",
      "host_name": "",
      "status": false
    }
  }
}
```

The JSON response shows the domain configuration along with verification and authentication status. Response codes:

| Response code | Message               | Description                                                       |
| :------------ | :-------------------- | :---------------------------------------------------------------- |
| `200`         | Domain configuration  | Returns the verification and authentication status of the domain. |
| `400`         | Bad request           | Request fails due to incorrect or missing parameters.             |
| `404`         | Domain does not exist | Request fails because the domain does not exist.                  |

\


## 2.  Authenticate a domain

Send a `PUT` request to `https://api.brevo.com/v3/senders/domains/{domainName}/authenticate` to authenticate a domain. Use the cURL request below:

```curl
curl --request PUT \
     --url https://api.brevo.com/v3/senders/domains/mycompany.com/authenticate \
     --header 'accept: application/json' \
     --header 'api-key: '
```

Add the `domainName` attribute to the URL as in `https://api.brevo.com/v3/senders/domains/{domainName}/authenticate`. The attribute:

| Attribute    | Datatype | Description        | Value         |
| :----------- | :------- | :----------------- | :------------ |
| `domainName` | String   | Name of the domain | mycompany.com |

\


#### How to get your domain verified?

Three ways to authenticate your domain:

1. **DNS records**: Add the Brevo record to verify your domain, then configure the remaining DNS records to authenticate it.
2. **Host a file**: Host a file in the root directory of the domain.
3. **Send an email**: Send an email containing a verification code to confirm the domain is authentic.

\


**Response**

Sample response:

```json
{
  "domain_name": "mycompany.com",
  "message": "Domain has been authenticated successfully."
}
```

Response codes:

| Response code | Message               | Description                                                                                 |
| :------------ | :-------------------- | :------------------------------------------------------------------------------------------ |
| `200`         | Domain authenticated  | The domain is authenticated.                                                                |
| `400`         | Bad request           | Invalid or missing parameters, or a value mismatch between DKIM records and the Brevo code. |
| `404`         | Domain does not exist | Domain does not exist in the database.                                                      |