Retrieve a thread
The thread’s subject, folder, labels and read state; its emails are listed apart.
GET
/inboxes/{inbox_id}/threads/{thread_id}授权
AuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
路径参数
inbox_idstring必填The inbox ID or its email address, such as support@example.com
thread_idstring<uuid>必填The thread ID
响应
200
Thread
objectstring必填允许值:
inbox_threadidstring<uuid>必填subjectstring | null必填folderstring必填允许值:
inboxarchivespamsenttrashlabelsobject[]必填显示属性隐藏属性
object 数组idstring<uuid>必填namestring必填colorstring必填readboolean必填quarantinedinteger必填BillionSend extension: held messages; 0 for inbox-scoped keys
401
Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填404
Not found
statusCodenumber必填namestring必填messagestring必填429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填