Skip to navigation

List threads for driver

Lists message threads on task groups assigned to the caller (a driver), newest message first, each with its last message and the caller’s unread count. | authz: allowed_org_types=[provider], min_org_role=member | () -> (TaskGroupMessageThreadListRes)

Authentication

AuthorizationBearer

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

Query parameters

filter_statuseslist of enums or nullOptional

Filter by task group status(es); defaults to staged and in_progress

filter_unreadboolean or nullOptional

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

filter_last_message_at_timestamp_gtestring or nullOptionalformat: "date-time"

Filter last message timestamp >= value

filter_last_message_at_timestamp_ltestring or nullOptionalformat: "date-time"

Filter last message timestamp <= value

include_threads_without_messagesbooleanOptionalDefaults to false
Include task groups that have no messages yet
pageintegerOptional>=1Defaults to 1
page_sizeintegerOptional1-100Defaults to 20

Response

Successful Response
itemslist of objects
total_countinteger
total_unread_countinteger

Errors

422
Unprocessable Entity Error