List threads with optional search functionality.
Query parameters
Filter threads that have active messages (1=true, 0=false).
Filter threads that have archived (1=true, 0=false).
Filter threads assigned to the current user (1=true, 0=false).
Filter threads with attachments (1=true, 0=false).
Filter threads that have delivery pending messages: sending, retry or failed (1=true, 0=false).
Filter threads with draft messages (1=true, 0=false).
Filter threads with any mention (read or unread) for the current user (1=true, 0=false).
Filter threads that have messages (1=true, 0=false).
Filter threads with messages sent by the user (1=true, 0=false).
Filter threads with starred messages (1=true, 0=false).
Filter threads that have trashed messages (1=true, 0=false).
Filter threads with no active assignment from any user (1=true, 0=false).
Filter threads with unread messages (1=true, 0=false). Requires mailbox_id.
Filter threads with unread mentions for the current user (1=true, 0=false).
Filter threads that are spam (1=true, 0=false).
Filter threads that have all messages trashed (1=true, 0=false).
Filter threads by label slug.
Filter threads by mailbox ID.
A page number within the paginated result set.
Search threads by content (subject, sender, recipients, message body).
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}