Direct actions
GET
/email-accounts/{id}/emails

The emails this mailbox sent with POST /email-accounts/{id}/emails, newest first. Campaign emails and inbox replies are not listed. A request that failed returned its error and was not logged.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created on the Access tokens page.

In: header

Path Parameters

id*string

Query Parameters

status?string

Value in

  • "sent"
  • "bounced"
  • "failed"
limit?integer

Page size, 1–100.

Range1 <= value <= 100
Default50
offset?integer

Number of records to skip.

Range0 <= value
Default0

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/email-accounts/string/emails"
{  "data": [    {      "id": "string",      "accountId": "string",      "status": "sent",      "to": "string",      "subject": "string",      "messageId": "string",      "chatId": "string",      "leadId": "string",      "error": "string",      "sentAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "paging": {    "limit": 0,    "offset": 0  }}