Skip to content

List a message's attachment metadata

GET
/v1/inboxes/{inbox_id}/messages/{id}/attachments
inbox_id
required
string

Opaque inbox id (the canonical path key). The inbox’s email address is also accepted here as a within-project alias. Treat the id as opaque.

id
required
string

Opaque message id (msg_...). Encodes its owning inbox.

Ok

object
items
Array<object>

Attachment metadata. Download the bytes from the attachment endpoint.

object
id
string
filename
string
content_type
string
Example
application/pdf
size

Size in bytes.

integer
total
integer

Missing or invalid credential.

The canonical error envelope. error is a stable machine code.

object
error
required

Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).

string
Example
forbidden
message

Human-readable detail (never leaks internals).

string
Example
missing required scope

Resource not found.

The canonical error envelope. error is a stable machine code.

object
error
required

Stable error code (e.g. unauthorized, forbidden, not_found, invalid, quota_exceeded, rate_limited).

string
Example
forbidden
message

Human-readable detail (never leaks internals).

string
Example
missing required scope