Skip to navigation

Create a new sender domain

View as Markdown

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.

OR
AuthorizationBearer

OAuth 2.0 client_credentials (machine-to-machine) grant. Exchange your app’s client_id/client_secret for a short-lived Bearer token.

Request

Domain configuration
namestringRequiredformat: "hostname"
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_providerstringOptional
Detected domain provider
dns_recordsobjectOptional
DNS records required for domain authentication

Errors

400
Bad Request Error