Add a sending domain

Adds a sending domain and returns it with 201 and the DNS records to add at the domain's DNS provider.
When the account already has the domain, it is returned with 200 instead, so the call is safe to retry.
The domain stays pending until the records are added and checked.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The body of POST /v2/domains.

string
required
length between 1 and 200

The domain name only, without scheme or www., e.g. example.com.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json