Send Email
POST/email/campaign
To send emails to long list of contacts such as sending business campaigns or automated emails to.
Request
- application/json
Body
required
- Array [
- ]
headers object
Additional headers to be added to the email.
List-Unsubscribe string
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
X-HEADER-1 string
X-HEADER-2 string
subject string
body string
preview string
campaignId string
sender object
from object
name string
email string
replyTo object
name string
email string
recipients object
to object[]
name string
email string
attributes object
KEY_NAME_1 string
KEY_NAME_2 string
disableTrackingLinks boolean
when enabled, prevents from automatically tracking links in emails
Responses
- 202
- 400
- 401
- 405
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
requestId string
message string
{
"requestId": "833c5151-5a98-4bad-a30f-7cc816352b7a",
"message": "SUCCESS"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Some error message"
}
API key is missing or invalid
Method Not Allowed
Loading...