Create a sender address for an existing sending domain. Pass the complete email address; the domain is derived from it.
Request Information
- Get API Key:
ACCESSKEY_ID:ACCESSKEY_SECRET - Request Method:
POST - Request Path:
/api/v1/email/EmailSender - Content-Type:
application/json
Notes
- The domain of
Emailmust exist in the current account and must be enabled and verified. - The sender email must be unique within the account.
- To list existing senders, use Get Sender List.
Emailstringrequired
Full sender email address, for example noreply@mail.example.com
?
Aliasstring
Display name of the sender
?
Response Format
| Field Name | Type | Description |
|---|---|---|
| Action | string | Fixed value EmailSenderResponse |
| RetCode | int | Return code, 0 indicates success |
| Message | string | Success or error message |
| RequestUuid | string | Request UUID |
| SenderId | string | ID of the created sender |
LANGUAGE
CREDENTIALS
URL
POST
CURL Request▼
curl -X POST "https://api.uspeedo.com/api/v1/email/EmailSender" \-H "Content-Type: application/json" \-H "Accept: application/json" \-H "Authorization: Basic $(echo -n 'ACCESSKEY_ID:ACCESSKEY_SECRET' | base64)" \-d '{"Email": "noreply@mail.example.com","Alias": "noreply"}'
RESPONSE
Click Try It! to start a request and see the response here.