Skip to main content
GET
获取线程

授权

Authorization
string
header
必填

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

请求头

Authorization
string
必填

Bearer 身份验证

路径参数

inbox_id
string
必填

收件箱的 ID。

thread_id
string
必填

会话 ID。

响应

状态码为 200 的响应

inbox_id
string
必填

收件箱的 ID。

thread_id
string
必填

会话 ID。

labels
string[]
必填

会话标签。

timestamp
string<date-time>
必填

最后发送或接收消息的时间戳。

senders
string[]
必填

会话中的发件人。格式为 username@domain.comDisplay Name <username@domain.com>

recipients
string[]
必填

会话中的收件人。格式为 username@domain.comDisplay Name <username@domain.com>

last_message_id
string
必填

会话串中最后一条消息的 ID。

message_count
integer
必填

会话中的消息数量。

size
integer
必填

线程大小(以字节为单位)。

updated_at
string<date-time>
必填

线程上次更新的时间。

created_at
string<date-time>
必填

会话串的创建时间。

messages
Message · object[]
必填

线程中的消息。按 timestamp 升序排列。

received_timestamp
string<date-time>

最后收到消息的时间戳。

sent_timestamp
string<date-time>

最后发送消息的时间戳。

subject
string

会话主题。

preview
string

会话中最后一条消息的文本预览。

attachments
Attachment · object[]

线程中的附件。