Developer
Ticket and Conversation Tagged Events
Documentation for the ticket.tagged and conversation.tagged webhook events
These events are fired when a tag is added to a ticket or to a conversation. Both include the customer's latest message, so you can act on the message that led to the tag.
Event Types
ticket.tagged
conversation.taggedWhen They're Triggered
| Event | Fired when |
|---|---|
ticket.tagged | An automation adds tags to a conversation's open ticket through the tags API, or a team member adds a tag to a ticket in the app |
conversation.tagged | A team member adds a tag to a conversation in the app, including moving a CRM card to another stage |
- Only tags that were not there already are included, so re-adding an existing tag sends nothing.
- One tags API call that adds several tags sends one event listing all of them.
- Removing a tag sends nothing.
- Tags written in bulk by CRM enrichment do not send these events.
Subscribing to These Events
Open Settings → Webhooks and check Ticket Tagged, Conversation Tagged or both. The webhook must use an https URL and have a signing secret.
Webhook Payload Structure
Both events have the same data shape.
{
"event": "ticket.tagged",
"timestamp": "2026-11-17T08:05:00.412Z",
"data": {
"eventId": "3b8e5c1a-7d24-4f9a-b6e0-91c2f4a8d357",
"target": "ticket",
"ticketId": "ticket_xyz789",
"conversationId": "conv_abc123",
"platform": "INSTAGRAM",
"channelId": "17841400000000000",
"platformUserId": "1234567890123456",
"customerName": "John Doe",
"tags": [
{ "id": "tag_refund", "name": "Refund", "groupId": "grp_issue" }
],
"displacedTagIds": [],
"source": "human",
"memberId": "member_123",
"lastIncomingMessage": {
"messageId": "msg_def456",
"platformMessageId": "aWdfZAG1faXRlbToxOklHTWVzc2FnZAUlE",
"type": "TEXT",
"text": "I want my money back",
"attachments": [],
"at": "2026-11-17T08:04:51.000Z"
},
"inboxUrl": "https://<your-domain>/app/inbox/all/conv_abc123",
"at": "2026-11-17T08:05:00.120Z"
}
}Field Descriptions
Data Object
| Field | Type | Description |
|---|---|---|
eventId | string (UUID) | Unique id for this event. Unchanged if a delivery is retried or resent, so use it to deduplicate |
target | string | "ticket" on ticket.tagged, "conversation" on conversation.tagged |
ticketId | string | null | On ticket.tagged, the ticket the tags were added to. On conversation.tagged, the conversation's open ticket, or null if none is open |
conversationId | string | The conversation |
platform | string | Channel the conversation runs on, e.g. MESSENGER, INSTAGRAM, WHATSAPP |
channelId | string | null | Your Page id on Messenger; the account, number, app or widget id elsewhere |
platformUserId | string | The customer's id on that platform |
customerName | string | null | Display name, when the platform gave us one |
tags | array | The tags just added, each with id, name and groupId |
displacedTagIds | string[] | Tags removed because a new tag replaced them in a single-select group |
source | string | "ai" from the tags API, "human" from a team member |
memberId | string | null | The team member who added the tags, when source is "human" |
lastIncomingMessage | object | null | The customer's latest message in the conversation. null if the customer has not sent one |
inboxUrl | string | null | Deep link to the conversation in the inbox |
at | string (ISO 8601) | When the tags were added |
Last Incoming Message Object
This is the latest message sent by the customer to your Page or account, never a message sent by you.
| Field | Type | Description |
|---|---|---|
messageId | string | Our id for the message, the same messageId as in Message Received |
platformMessageId | string | null | The channel's own id: the mid on Messenger and Instagram, the wamid on WhatsApp, the Message-ID on email. null on the website widget and mobile |
type | string | TEXT, IMAGE, VIDEO, AUDIO, FILE, STICKER, LINK or EMOJI |
text | string | null | The message text; on a media message, the caption sent with the file |
attachments | array | Files the customer sent, in the same shape as Message Received |
at | string (ISO 8601) | When the customer sent it |