Skip to main content
GET
列出账号名单项
列出作用于每一个收件箱的账号级放行/拦截名单项。direction 选入站或出站,type 选名单类型。返回 countlimitnext_page_tokenentries,用 next_page_token 翻页。每项含 entryentry_typereasondirectionlist_typecreated_atread_only。这是账号级视图,跨越账号下的每一个收件箱。所有 AIsa 调用方共用同一个 AgentMail 账号,因此这里会触及其他调用方创建的收件箱;只针对单个收件箱时请用收件箱级的孪生工具 get_agentmail_inbox_list_entries

示例

授权

Authorization
string
header
必填

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

请求头

Authorization
string
必填

Bearer 身份验证

路径参数

direction
enum<string>
必填

列表条目的方向。

可用选项:
send,
receive,
reply
type
enum<string>
必填

列表条目的类型。

可用选项:
allow,
block

查询参数

limit
integer

返回项目数量的上限。

page_token
string

用于分页的页面 token。

响应

200 - application/json

状态码为 200 的响应

count
integer
必填

返回的项目数量。

entries
ListEntry · object[]
必填

按 entry 升序排列。

limit
integer

返回项目数量的上限。

next_page_token
string

用于分页的页面 token。