Skip to main content
POST
/
api
/
sending-domains
Create Sending Domain
curl --request POST \
  --url https://api.embedreach.com/api/sending-domains \
  --header 'Content-Type: application/json' \
  --data '
{
  "apexDomain": "<string>",
  "subdomain": "<string>",
  "channelIntegrationId": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "dnsRecords": [
      {
        "name": "<string>",
        "value": "<string>"
      }
    ]
  }
}

Headers

reach-tenant-id
string

If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.

Body

application/json
apexDomain
string
required

The apex domain the tenant owns (e.g. acme.com)

subdomain
string
required

The subdomain label mail will send from (e.g. send)

channelIntegrationId
string
required

The email channel integration to provision the sending domain under

Response

Status 201 response

success
boolean
required
message
string
data
object