Send emails directly without using templates. Supports batch sending to multiple recipients. All recipients will receive emails with the same content.
Request Information
- Request Method:
POST - Request Path:
/api/v1/email/SendEmail - Content-Type:
application/json
Notes
TargetEmailAddressarray length is limited to 1-100 email addressesSubjectlength is limited to 1-200 charactersContentrequires at least 1 character and supports HTML format
SendEmailstringrequired
Sender email address
?
TargetEmailAddressstring[]required
Recipient email address string array (1-100)
?
Subjectstringrequired
Email subject, length 1-200 characters
?
Contentstringrequired
Email content (HTML supported), minimum 1 character
?
FromNamestring
Sender nickname
?
LANGUAGE
CREDENTIALS
👁️
🔒
🔑Log in to get ACCESSKEY_ID and ACCESSKEY_SECRET
URL
POST
CURL Request▼
curl -X POST "https://api.uspeedo.com/api/v1/email/SendEmail" \-H "Content-Type: application/json" \-H "Accept: application/json" \-H "Authorization: Basic $(echo -n 'ACCESSKEY_ID:ACCESSKEY_SECRET' | base64)" \-d '{"SendEmail": "sender@example.com","TargetEmailAddress": ["recipient1@example.com","recipient2@example.com"],"Subject": "Welcome to uSpeedo Email Service","Content": "<html><body><h1>Welcome</h1><p>This is a test email.</p></body></html>","FromName": "uSpeedo"}'
RESPONSE
Click Try It! to start a request and see the response here.
Response Format
| Field Name | Type | Description |
|---|---|---|
| RetCode | int | Return code, 0 indicates success |
| Message | string | Return message |
| SessionNo | string | Session number, used to query sending status |
| FailedTargetEmails | array | List of failed recipients |