API ReferenceEmails
List transactional emails
x-sendlit-apikey<token>
In: header
Query Parameters
status?string
Value in
"queued" | "sent" | "failed" | "bounced" | "suppressed"createdAfter?|
Millisecond timestamp lower bound (inclusive)
createdBefore?|
Millisecond timestamp upper bound (exclusive)
offset?integer
Range
1 <= valueitemsPerPage?integer
Range
1 <= valueResponse Body
application/json
curl -X GET "https://api.sendlit.dev/emails"{
"items": [
{
"txeId": "string",
"to": "string",
"from": "string",
"replyTo": "string",
"subject": "string",
"templateId": "string",
"variables": {
"property1": null,
"property2": null
},
"status": "queued",
"error": "string",
"trackOpens": true,
"trackClicks": true,
"openCount": 0,
"clickCount": 0,
"sentAt": "string",
"createdAt": "string",
"updatedAt": "string"
}
],
"total": 0
}Get a single normalized delivery event GET
Previous Page
Send a transactional email POST
Requires a non-empty mailing address in the team's general settings. `templateId` must identify a team-owned transactional template; marketing templates return 422 template_not_transactional. Unguarded Liquid variables must be supplied in `variables`, or the API returns 422 missing_template_variables without creating a row or queue job. Inline `html` is sent verbatim without Liquid rendering. address, unsubscribe_link, and subscriber are marketing-only server-owned values and are unavailable to transactional templates.