Email Thread
Partial update email thread
Update part of email thread object.
patch/api/v1/email_threads/{emailThreadID}
Path parameters
emailThreadIDinteger required
ID of the email thread
Request body
Example request
{
"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
}
}Response
OK
Example response
{
"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
}
}