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(usemultipart/form-datawhen uploading attachments)
Notes
Fromvalue can be obtained from Domain SettingsToarray length is limited to 1-100 email addressesSubjectlength is limited to 1-200 charactersHtmlandText: at least one must contain at least 1 character;Htmltakes priority overTextwhenContentis emptyCcandBccrecipients are combined withTo, deduplicated, and delivered together; Cc + Bcc count ≤ 100Attachments: max 10 files, total size ≤ 10MB; when uploading attachments, switch tomultipart/form-data— attach files as form file fields, no manual Base64 encoding neededHeaders: array of{Name, Value}objects, max 20; Name allows only letters, digits, and-; reserved names (From,To,Subject,Reply-To,Content-Type,Mime-Version,X-SES-*prefix) are not allowed; Value must not contain newlines
Fromstringrequired
Sender email address
?
Tostring[]required
Recipient email address array (1-100)
?
Subjectstringrequired
Email subject, length 1-200 characters
?
Htmlstring
HTML email content
?
Textstring
Plain text email content
?
FromNamestring
Sender nickname
?
PreHeaderstring
Preview summary text shown next to subject in inbox
?
Ccstring[]
CC recipients, combined with Bcc max 100
?
Bccstring[]
BCC recipients, combined with Cc max 100
?
Attachmentsfile
Attachment list (JSON), max 10 files, total ≤10MB; use multipart/form-data to upload
?
Headersstring
Custom email headers (JSON array of {Name, Value}), max 20
?
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 |
Error Codes
| Code | Description |
|---|---|
| 0 | Success |
| 215392 | Invalid parameter |
| 215397 | Missing required parameter |
| 215400 | Server error |
Update Notes (2026-07-28)
SendEmail / TargetEmailAddress / Content are deprecated — use From / To / Html (or Text) instead. Old fields still work but new fields take priority when both are provided.
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 '{"From": "sender@example.com","To": ["recipient1@example.com","recipient2@example.com"],"Subject": "Welcome to uSpeedo Email Service","Html": "<html><body><h1>Welcome</h1><p>This is a test email.</p></body></html>","FromName": "uSpeedo","PreHeader": "Welcome to uSpeedo Email Service"}'
RESPONSE
Click Try It! to start a request and see the response here.