Get Threads
Changed onList authorized conversation metadata, most recently active first (by updated_at, which a new message moves). Use page_size and page_token for pagination, and the messages endpoint for conversation history. A thread that gets a message while you page moves to the first page.
With account_id, list only conversations linked to that account and require current account access. Without it, list only conversations with no linked account.
Request
- Base URLhttps://api.clearstreet.com
- AuthHTTP bearer
Query parameters
Lists only conversations for this account, or unlinked conversations when omitted. Other reads authorize the resource's linked account. Omit when no account is selected; empty values and the string null are invalid.
The number of items to return per page. Only used when page_token is not provided.
Base64URL-encoded pagination token
Token for retrieving the next or previous page of results. Contains encoded pagination state; when provided, page_size is ignored.
Response
Paginated list of thread metadata
Example response
{
"error": {
"code": 400,
"message": "Order quantity must be greater than zero"
},
"metadata": {
"page_number": 1,
"total_items": 42,
"total_pages": 5
}
}Changes
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
for the
queryrequest parameteraccount_id, the min was set to1.00 - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
the
queryrequest parameteraccount_idbecame optional - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking