Skip to main content
POST

Body Parameters

string
required
The name of the domain you want to create.
string
default:"us-east-1"
The region where emails will be sent from. Possible values: 'us-east-1' | 'eu-west-1' | 'sa-east-1' | 'ap-northeast-1'
string
default:"opportunistic"
  • opportunistic: Opportunistic TLS means that it always attempts to make a secure connection to the receiving mail server. If it can’t establish a secure connection, it sends the message unencrypted.
  • enforced: Enforced TLS on the other hand, requires that the email communication must use TLS no matter what. If the receiving server does not support TLS, the email will not be sent.
object
Configure the domain capabilities for sending and receiving emails. At least one capability must be enabled.
See all available status types in the Domains overview.