Skip to main content
GET
List Account List Entries
Lists the account-wide allow or block entries that apply to every inbox. direction selects inbound or outbound and type the list kind. Returns count, limit, next_page_token and entries; page with next_page_token. Each entry carries entry, entry_type, reason, direction, list_type, created_at and read_only. This is the organization-wide view spanning every inbox in the account. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created; the inbox-scoped twin get_agentmail_inbox_list_entries is the one to use when a single inbox is meant.

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer authentication

Path Parameters

direction
enum<string>
required

Direction of list entry.

Available options:
send,
receive,
reply
type
enum<string>
required

Type of list entry.

Available options:
allow,
block

Query Parameters

limit
integer

Limit of number of items returned.

page_token
string

Page token for pagination.

Response

200 - application/json

Response with status 200

count
integer
required

Number of items returned.

entries
ListEntry · object[]
required

Ordered by entry ascending.

limit
integer

Limit of number of items returned.

next_page_token
string

Page token for pagination.