Add labels to an inbox thread
Adds one or more mutable labels to a thread, letting an agent mark a
whole conversation (for example needs_review) without labelling each
message individually.
Thread labels are independent of message labels: labelling a thread does not label its messages, and labelling a message does not label its thread. Idempotent and case-sensitive.
Authorizations
Telnyx API key supplied as Authorization: Bearer <token>. In production, auth may be validated by the API gateway and forwarded via Telnyx auth headers.
Path Parameters
Email inbox UUID.
Thread UUID.
Body
Labels to add or remove. Both operations are idempotent set operations, so a retried request converges instead of failing.
One or more labels. Each label is a freeform, case-sensitive string of at most 255 characters; a message or thread may carry at most 50 labels. The telnyx: prefix is a reserved system namespace and is rejected on customer writes.
1 - 50 elements1 - 255Response
The thread identity and its current label set.