Get one thread and its message metadata
Requires a full key or an inbox key (bound inbox only). A thread in another tenant, the other mode, or a deleted inbox is not found. Deleted and expired messages are omitted. Messages are paginated oldest first by received_at and id. The default limit is 50, maximum 100. Use next_cursor as after to read the next message page. message_count is the stored thread count, independent of this page.
Path parameters
| Parameter | Description |
|---|---|
thread_idrequiredstring |
Query parameters
| Parameter | Description |
|---|---|
limitinteger | |
afterstring | Cursor from next_cursor of the previous page. |
Full parameter schemas and constraints
thread_id*stringlimit?integer1 <= value <= 10050after?stringCursor from next_cursor of the previous page.
bearerAuthAuthorizationBearer <token>API key: st_live_... or st_test_...
The thread and its message metadata, oldest first.
application/json- response
id*stringinbox_id*stringsubject*stringmessage_count*integerlast_message_at*stringdate-timecreated_at*stringdate-timemessages*array<>items <= 100next_cursor?stringCursor for the next page of messages, oldest first.