GET
/
emails
curl --request GET \
  --url https://api.amisend.com/emails \
  --header 'Authorization: Bearer <token>'
{
  "total": 123,
  "page": 123,
  "pages": 123,
  "results": [
    {
      "_id": "<string>",
      "team": "<string>",
      "from": "<string>",
      "to": "<string>",
      "subject": "<string>",
      "html": "<string>",
      "reply_to": "<string>",
      "attachments": [
        {}
      ],
      "status": "<string>",
      "scheduledAt": "2023-11-07T05:31:56Z",
      "sentAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1

Page number

limit
integer
default:40

Maximum number of emails per page (max 40)

Required range: x <= 40

Response

200
application/json

List of emails

The response is of type object.