List allow or block entries
cooper_list_list_entriesUse this when you need the addresses on an allow or block list. Read-only; requires auth. Inputs: direction (required; send, receive, or reply), type (required; allow or block), inbox_id (optional; inbox id, username, or email; omit for the account-wide list). Returns {data:[{object:"list_entry", direction, type, entry, entry_type, inbox_id, reason, created_at}], next_page_token}. entry_type is email or domain. inbox_id is null on an account-wide entry. Up to 1000 entries per list. Fails with 400 invalid_list, or inbox_not_found when inbox_id is another account's inbox. The per-inbox task allowlist is separate and is unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | allow limits mail to matching addresses when the list is non-empty. block rejects matching addresses. | |
| inbox_id | No | Inbox id (inb_…), username, or full email. Omit for the account-wide list. | |
| direction | Yes | send checks recipients. receive checks new inbound mail. reply checks mail that answers an outbound Message-ID. |