Utilities
Send Single Email
Send one-off transactional email outside of campaigns with attachments
POST
Path Parameters
No path parameters
Query Parameters
Your SmartLead API key
Request Body
Recipient email address
Email subject line
Email body content (HTML or plain text)
Sender email address. Either
fromEmail or fromEmailId is requiredID of the sender email account. Either
fromEmail or fromEmailId is requiredDisplay name for the sender (optional)
Reply-to email address (optional)
Array of attachment objects (optional). Each attachment requires:
filename(string): Name of the filecontent(string): Base64-encoded file contentmimeType(string): MIME type of the file (e.g., “application/pdf”)
Response Codes
Request successful
Invalid request parameters or malformed request body
Invalid or missing API key. Check your authentication.
The requested resource (campaign, lead, email account, etc.) does not exist or you don’t have access to it
Request validation failed. Check parameter types, required fields, and value constraints.
Too many requests. Please slow down and retry after the rate limit resets.
Server error occurred. Please try again or contact support if the issue persists.
API is temporarily unavailable or under maintenance. Please try again later.
