List email threads
Changed onRetrieve all email thread objects.
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Number of results per page
A value used for cursor-based pagination. Obtain this value from the next or previous URLs in a paginated response. Do not construct cursor values manually.
Object ID(s) filter
Queue ID(s) filter
Created before filter.
Created after filter.
Filter only email threads with a root email.
Filter only email threads with two and more emails with type incoming.
Filter only email threads with unread emails with type incoming.
Filter only email threads with the last email in the thread created before given timestamp.
Filter only email threads with the last email in the thread created after given timestamp.
Filter only email threads with root email that arrived in the last 14 days with no attachment processed by Rossum, excluding those with rejected label, without any reply and when root email has been read.
Result ordering.
Response
OK
Example response
{
"results": [
{
"id": 1244,
"url": "https://example.rossum.app/api/v1/email_threads/456",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"root_email": "https://example.rossum.app/api/v1/emails/1234",
"created_at": "2021-06-10T12:38:44.866180Z",
"last_email_created_at": "2021-11-01T18:02:24.740600Z",
"subject": "Root email subject",
"from": {
"email": "satisfied.customer@rossum.ai",
"name": "Satisfied Customer"
},
"labels": [],
"annotation_counts": {
"annotations": 4,
"annotations_processed": 2,
"annotations_purged": 0,
"annotations_rejected": 1,
"annotations_unprocessed": 1
}
}
]
}Changes
- breaking
the
/response's property type changed fromobjectto no type for status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added
subschema #2to the/response propertyallOflist for the response status
- breaking