SendLit logoSendLit Docs
API ReferenceEmails

List transactional emails

GET
/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
Range1 <= value
itemsPerPage?integer
Range1 <= value

Response 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
}