v34

latestOpenAPI 3.0.1raw.githubusercontent.com2026-07-21119235265.2 KB
PodsThreads

Update Thread

Updates thread labels. Cannot add or remove system labels (sent, received, bounced, etc.). Rejects requests with a 422 for threads with 100 or more messages.

patch/v0/pods/{pod_id}/threads/{thread_id}

Path parameters

pod_idstring required

ID of pod.

thread_idstring required

ID of thread.

Request body

add_labelsstring[] nullable

Labels to add to thread. Cannot be system labels.

remove_labelsstring[] nullable

Labels to remove from thread. Cannot be system labels. Takes priority over add_labels (in the event of duplicate labels passed in).

Response

thread_idstring required

ID of thread.

labelsstring[] required

Labels of thread.