Skip to Content
MailroomMailroom home

List emails

GET
/emails

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Query Parameters

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

Cursor from the previous page.

status?string
Value in"queued""pending_approval""scheduled""sending""sent""delivered""bounced""complained""failed""suppressed""rejected""cancelled"
tag?string
agent_id?string
from?string
Formatemail
to?string
Formatemail
since?string
Formatdate-time

Response Body

Page of emails

application/json
  1. response
data?array<>
after?string|null
Example Request
curl -X GET 'https://api.mailroom.gosuevals.com/v1/emails'
Example Response200
{  "data": [    {      "id": "eml_01HZX",      "status": "queued",      "from": "string",      "to": [        "string"      ],      "subject": "string",      "agent_id": "string",      "approval_id": "string",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "after": "string"}