Register email domains for mailing
Before sending emails using our APIs, you need to register the sending domain to use. You can register as many domains as you want and you can deregister the ones you no longer use. You can also do this via the user portal.
Additionally, registered domains must be verified to ensure email delivery and ownership of the domain. See Verifying Send Domains for more information.
Read registered domains
Endpoint: GET domains
This endpoint will provide you with all registered domains in your account, as the response data type below. Arranged alphabetically by domain.
Read an individual registered domain
Endpoint: GET domains/{domain}
This endpoint will provide you with the document for a single registered domain as the data type below.
Register a domain
Endpoint: PUT domains/{domain}
This enpoint allows you to register a new domain and return its contents if successful.
Deregister a domain
Endpoint: DELETE domains/{domain}
This endpoint allows you to deregister a previously registered domain. The output is the same as when reading a single registered domain above, when successful.
Response data type
{ "domain": "example.com", "created": "2018-10-23T17:43:19Z" }
domain
The registered email domain
created
The date the domain was registered