Skip to main content
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 (use multipart/form-data when uploading attachments)

Notes

  • From value can be obtained from Domain Settings
  • To array length is limited to 1-100 email addresses
  • Subject length is limited to 1-200 characters
  • Html and Text: at least one must contain at least 1 character; Html takes priority over Text when Content is empty
  • Cc and Bcc recipients are combined with To, deduplicated, and delivered together; Cc + Bcc count ≤ 100
  • Attachments: max 10 files, total size ≤ 10MB; when uploading attachments, switch to multipart/form-data — attach files as form file fields, no manual Base64 encoding needed
  • Headers: 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 NameTypeDescription
RetCodeintReturn code, 0 indicates success
MessagestringReturn message
SessionNostringSession number, used to query sending status

Error Codes

CodeDescription
0Success
215392Invalid parameter
215397Missing required parameter
215400Server 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.