SendLit logoSendLit Docs
API ReferenceEmailsTxeid

Get a transactional email

GET
/emails/{txeId}
x-sendlit-apikey<token>

In: header

Path Parameters

txeId*string

Response Body

application/json

application/json

curl -X GET "https://api.sendlit.dev/emails/string"
{
  "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",
  "html": "string"
}
{
  "error": "string"
}