Inbox Thread Labels Updated
Occurs whenever labels were applied to or removed from a thread. One event lists every label that one request added to or removed from the thread. A request that changes no label sends no event. Deleting a label does not send this event for the threads that had it.
Events
| Event | Sent when |
|---|---|
inbox.thread.labels.updated | Occurs whenever labels were applied to or removed from a thread. One event lists every label that one request added to or removed from the thread. A request that changes no label sends no event. Deleting a label does not send this event for the threads that had it. |
Payload
Fields of the event payload, as the spec declares them.
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | The event type. |
created_at | string | Yes | Timestamp when the event was emitted. |
data | object | Yes | The data of an inbox.thread.labels.updated event. Adding labels fills only added. Removing one label fills only removed. Setting the labels of a thread can fill both. |