Skip to main content
GET
列出收件箱名单项
列出单个收件箱的放行或拦截名单项。direction 选入站或出站,type 选名单类型。返回 countlimitnext_page_tokenentries,用 next_page_token 翻页。每项含 entryentry_typereasondirectionlist_typecreated_atread_onlyinbox_idpod_id。账号级孪生工具是 get_agentmail_list_entries

示例

授权

Authorization
string
header
必填

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

请求头

Authorization
string
必填

Bearer 身份验证

路径参数

inbox_id
string
必填

收件箱的 ID。

direction
enum<string>
必填

列表条目的方向。

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

列表条目的类型。

可用选项:
allow,
block

查询参数

limit
integer

返回项目数量的上限。

page_token
string

用于分页的页面 token。

响应

200 - application/json

状态码为 200 的响应

count
integer
必填

返回的项目数量。

entries
PodListEntry · object[]
必填

按 entry 升序排列。

limit
integer

返回项目数量的上限。

next_page_token
string

用于分页的页面 token。