Skip to navigation

List threads

Lists the caller’s org internal message threads across orders, newest message first, each with its last message and the caller’s unread count. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrderInternalMessageThreadListRes)

Authentication

AuthorizationBearer

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

Query parameters

filter_order_statusesenumOptional

Filter by order status(es); defaults to draft, staged, and in_progress

filter_order_idsstringOptional

Filter by order id(s)

filter_unreadbooleanOptional

True keeps threads with messages the caller hasn’t read; False keeps fully read threads

filter_last_message_at_timestamp_gtedatetimeOptional

Filter last message timestamp >= value

filter_last_message_at_timestamp_ltedatetimeOptional

Filter last message timestamp <= value

pageintegerOptional>=1Defaults to 1
page_sizeintegerOptional1-100Defaults to 20

Response

Successful Response
itemslist of objects
total_countinteger
total_unread_countinteger

Errors

422
Order Internal Messages List Threads V1request Unprocessable Entity Error