Send Email
POST/email/campaign
To send emails to long list of contacts such as sending business campaigns or automated emails to.
Request
Header Parameters
When set to true, tracking links in the email hide the destination inside an opaque, tamper-proof token instead of exposing it as a readable redirectUrl query parameter. This keeps destination URLs out of the message body where blocklist scanners can read them. Defaults to the account setting when the header is omitted.
- application/json
Body
required
- Array [
- ]
headers object
Additional headers to be added to the email.
Unsubscribe header for the email. This will override the default unsubscribe header generated by TinyEmail. It must support POST requests. For more information, visit email sender guidelines
sender object
from object
replyTo object
recipients object
to object[]
attributes object
when enabled, prevents from automatically tracking links in emails
Responses
- 202
- 400
- 401
- 405
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
{
"requestId": "833c5151-5a98-4bad-a30f-7cc816352b7a",
"message": "SUCCESS"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "Some error message"
}
API key is missing or invalid
Method Not Allowed