Skip to main content

Create a sending domain. After creation, call Get Sending Domain to obtain the DNS records that must be configured at your DNS provider.

Request Information​

Notes​

  • The tracking domain is generated automatically. You do not need to configure it.
  • Domain verification is asynchronous. After the DNS records are configured, use Verify Sending Domain to check the verification status.
  • Only the fields listed above are accepted. Tracking domain, certificate, and provider settings are managed by the platform.
Domainstringrequired
Sending domain, for example mail.example.com
?
TriggerTypenumberrequired
Email type: 1-transactional, 2-marketing
?

Response Format​

Field NameTypeDescription
ActionstringFixed value EmailDomainResponse
RetCodeintReturn code, 0 indicates success
MessagestringSuccess or error message
RequestUuidstringRequest UUID
DomainIdstringID of the created domain

LANGUAGE

URL

POST
CURL Request▼
curl -X POST "https://api.uspeedo.com/api/v1/email/EmailDomain" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Basic $(echo -n 'ACCESSKEY_ID:ACCESSKEY_SECRET' | base64)" \
-d '{
"Domain": "mail.example.com",
"TriggerType": 2
}'

RESPONSE

Click Try It! to start a request and see the response here.