List received email

GET
/v1/inbound

Messages received via Cloudflare Email Routing. Newest-first; cursor is the bare epoch-ms created_at of the last row returned. Note the from_addr/to_addr field names here — the single-item GET below uses from/to instead (see InboundMessageDetail).

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key sent as Authorization: Bearer <key>. Looked up by SHA-256 hash (email_core::sha256_hex) against api_keys.hash; revoked keys and keys belonging to a suspended tenant are rejected. See the top-level Authentication section for permission levels.

Query Parameters

limit?integer

Max rows to return.

Range1 <= value <= 100
Default25
cursor?integer
Formatint64

Response Body

Inbound message list.

application/json
  1. response
data?array<>
next_cursor?|
Formatint64
curl -X GET "https://example.com/v1/inbound"
{  "data": [    {      "id": "string",      "from_addr": "string",      "to_addr": "string",      "subject": "string",      "message_id": "string",      "in_reply_to": "string",      "size_bytes": 0,      "created_at": 0    }  ],  "next_cursor": 0}