Skip to content
Sendtier Docs
API reference

List emails newest first

Source: OpenAPI (openapi/openapi.yaml).

curl -X GET "https://api.sendtier.example/emails" \  -H "Authorization: Bearer st_live_REPLACE_ME"
{  "data": [    {      "id": "string",      "status": "queued",      "status_detail": "string",      "created_at": "2019-08-24T14:15:22Z",      "from": "string",      "to": [        "string"      ],      "subject": "string",      "test_mode": true,      "domain_id": "string"    }  ],  "next_cursor": "string"}
GET
/emails

Authorization

headerAuthorizationBearer <token>

API key: st_live_... or st_test_...

Query Parameters

limit?integer
Range1 <= value <= 100
Default50
after?string

Cursor from next_cursor of the previous page.

status?string
Value in"queued""scheduled""sent""delayed""delivered""bounced""complained""failed""canceled"
domain_id?string
test_mode?boolean

Response Body

A page of emails.

application/json
  1. response
data*array<>
next_cursor?string