Create a new domain
POST /api/domains
Add a new domain to the authenticated user’s account
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Domain configuration details for creating a new domain
object
Domain name
Example
example.comDKIM key length
Example
2048object
Domain name
Example
example.comDKIM key length
Example
2048Responses
Section titled “ Responses ”Domain created successfully
object
Indicates if the request was successful
Example
trueHuman-readable success message
Example
Domain added successfully.Created domain information
object
The domain name that was successfully created
Example
example.comUnauthorized
object
Error type indicating authentication failure
Example
UnauthorizedHuman-readable error message explaining the authentication issue
Example
Authorization header is requiredValidation Error
object
Indicates the request failed due to validation errors
Human-readable error message
Example
Validation failed.Field-specific validation error messages organized by field name
object
Too Many Requests - Rate limit exceeded. Retry after the specified time.
object
Example
Too many attempts. Please try again later.Headers
Section titled “Headers ”Seconds until rate limit resets
Maximum requests per minute
Remaining requests in current window
Server Error
object
Indicates the request failed due to a server error
Human-readable error message describing the server error
Example
An error occurred while processing the request.