Add labels to an inbox message
Changed onAdds one or more mutable labels to a message. Labels carry agent workflow state such as spam, needs_review, or processed.
Labels are not the same as the send-time tags on outbound messages: tags are immutable and propagate to Email Detail Records and Mission Control for billing attribution, while labels are mailbox state that never reaches the reporting contract.
The operation is an idempotent set union — adding a label the message already carries is a no-op and still returns 200. Labels are case-sensitive, and message labels are independent of thread labels.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/email_inboxes/{inbox_id}/messages/{message_id}/labels
- Auth: HTTP bearer
Path parameters
Email inbox UUID.
Inbound message UUID.
Request body
Response
The updated message, including its current label set.
Changes
- warning
added the new
10011enum value to the//response property for the response status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
10011enum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status - warning
added the new
domain_graduation_limit_exceededenum value to the//response property for the response status
- warning
- info
endpoint added
- info