Skip to content

List the contact-list entries governing an inbox

GET
/v1/inboxes/{inbox_id}/lists

List the allow/block entries that govern this inbox: the inbox-specific entries plus any account-wide entries.

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.

Ok

object
items
Array<object>

One allow/block contact-list entry. inbox is null when the entry is account-wide (covers every inbox the agent owns).

object
id
string
inbox
string
nullable
kind
string
Allowed values: allow block
direction
string
Allowed values: send receive
pattern
string
created_at
string format: date-time
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