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
- Get API Key:
ACCESSKEY_ID:ACCESSKEY_SECRET - Request Method:
POST - Request Path:
/api/v1/email/EmailDomain - Content-Type:
application/json
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 Name | Type | Description |
|---|---|---|
| Action | string | Fixed value EmailDomainResponse |
| RetCode | int | Return code, 0 indicates success |
| Message | string | Success or error message |
| RequestUuid | string | Request UUID |
| DomainId | string | ID of the created domain |
LANGUAGE
CREDENTIALS
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.