Set the default sending domain

Marks a verified domain as the organization's default sending domain, atomically clearing any previous default.

POST
/v1/email/domains/{id}/default

Marks a verified domain as the organization's default sending domain, atomically clearing any previous default. Provisioning and inbound routing prefer the default domain when several apply. It does not choose the from of omitted-from sends; those use the organization default sender.

x-api-key<token>

In: header

Path Parameters

id*string
Match^dom_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/email/domains/string/default"
{  "success": true,  "message": "string"}

Related documentation