API referenceInbound
Get a received message, including raw MIME
GET
The raw message is returned byte-for-byte from R2 exactly as ingested (never parsed) — raw is null if the R2 object is missing (metadata is still returned rather than a 500).
bearerAuthheader
AuthorizationBearer <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.
id*stringThe message id returned by POST /v1/email(/batch).
Inbound message detail.
application/json- response
The single-item shape (GET /v1/inbound/{id}) — from/to (not from_addr/to_addr), plus raw.
id?stringfrom?stringto?stringsubject?string|nullmessage_id?string|nullin_reply_to?string|nullsize_bytes?integerFormat
int64created_at?integerFormat
int64raw?|The full raw MIME message, or null if the R2 object could not be read.
curl -X GET "https://example.com/v1/inbound/string"{ "id": "string", "from": "string", "to": "string", "subject": "string", "message_id": "string", "in_reply_to": "string", "size_bytes": 0, "created_at": 0, "raw": "string"}