Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The domain name to add or update
curl --request PUT \
--url https://api.open.cx/email/domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domainName": "<string>"
}'{
"domainRecords": [
{
"type": "<string>",
"name": "<string>",
"value": "<string>",
"ttl": "<string>",
"status": "<string>"
}
],
"domainStatus": "pending"
}Add or update a custom domain for sending emails. After adding a domain, you’ll need to verify it by adding the provided DNS records.
curl --request PUT \
--url https://api.open.cx/email/domains \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domainName": "<string>"
}'{
"domainRecords": [
{
"type": "<string>",
"name": "<string>",
"value": "<string>",
"ttl": "<string>",
"status": "<string>"
}
],
"domainStatus": "pending"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The domain name to add or update
Was this page helpful?