Create Domain

Creates a new domain in Brevo. Use this to: - Add new domains for sending emails - Set up domain authentication for better deliverability - Configure DNS records for email authentication - Establish domain-based sender identities Key information returned: - Created domain ID and configuration - Required DNS records for authentication - Domain provider detection results - Setup instructions and next steps

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

Domain configuration
namestringRequiredformat: "^[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.[a-zA-Z]{2,}$"
Domain name to be added

Response

Domain created successfully
idlong
ID of the Domain created
domain_namestring
Domain name
messagestring
Success message with next steps
domain_providerstring or null
Detected domain provider
dns_recordsobject or null
DNS records required for domain authentication

Errors