Zerokit
Emails

List emails

Return every email in this workspace, newest-first. No pagination yet — workspaces with high volume should subscribe to a [webhook](/docs/webhooks) instead of polling this endpoint.

GET
/emails

Return every email in this workspace, newest-first. No pagination yet — workspaces with high volume should subscribe to a webhook instead of polling this endpoint.

Authorization

bearerAuth
AuthorizationBearer <token>

Workspace-scoped API key issued via the dashboard. Send as Authorization: Bearer zk_live_... on every request.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/emails"
[
  {
    "id": "email_2bV4dXyZ8AfQpkw7Lp",
    "organizationId": "string",
    "apiKeyId": "string",
    "from": "Acme <[email protected]>",
    "to": [
      "[email protected]"
    ],
    "subject": "string",
    "status": "queued",
    "provider": "ses",
    "providerMessageId": "010f01...",
    "errorMessage": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "sentAt": "2019-08-24T14:15:22Z",
    "failedAt": "2019-08-24T14:15:22Z"
  }
]
{
  "error": "The from domain is not verified for this organization."
}