Button Tapped Event
Documentation for the message.postback webhook event
The message.postback event is sent when a customer taps a button on Messenger or Instagram
that sends you a payload instead of a typed message.
Event Type
message.postbackWhen It's Triggered
Once for each tap of:
- Get Started, the button a new customer sees before their first message on Messenger
- A persistent menu item
- A postback button, including the ones you send with the
Messaging API as a
BUTTONSmessage - An Instagram ice breaker, or a button on an Instagram template
The tap is saved in the inbox as a customer message whose text is the button's title. It opens Meta's 24-hour messaging window, so you can reply with a normal message. If the AI agent is on for the conversation, it answers the tap the same way it answers a typed message.
A tap is sent as message.postback instead of message.received,
never as both. Quick replies and WhatsApp reply buttons are different: tapping one sends a real
message, so they arrive as message.received with an interaction object.
Not sent while another app controls the conversation (Meta's handover protocol).
Subscribing to This Event
Open Settings → Webhooks and check Button Tapped. The URL must be https.
Webhook Payload Structure
{
"event": "message.postback",
"timestamp": "2026-10-14T08:00:01.120Z",
"data": {
"eventId": "b2c1e0d4-61a7-8f3e-a9d2-04c7e1f5a8b6",
"messageId": "msg_9Ty4nPq2",
"conversationId": "conv_abc123",
"platform": "MESSENGER",
"channelId": "102938475610293",
"platformUserId": "6789012345678901",
"customerName": "Jane Doe",
"title": "Get Started",
"payload": "GET_STARTED",
"referral": {
"source": "ADS",
"type": "OPEN_THREAD",
"ref": "summer_sale",
"adId": "120210000000000000",
"adTitle": null,
"ctwaClid": null,
"sourceUrl": null
},
"botEnabled": true,
"ticketId": null,
"inboxUrl": "https://<your-domain>/app/inbox/all/conv_abc123",
"at": "2026-10-14T08:00:00.870Z"
}
}Field Descriptions
| Field | Type | Description |
|---|---|---|
eventId | string (UUID) | Stable ID for this event. The same on every retry and resend. Use it to deduplicate |
messageId | string | Our ID for the saved tap. Pass it as replyToMessageId if you want to quote it |
conversationId | string | The conversation. Pass it as conversationId when you reply |
platform | string | MESSENGER or INSTAGRAM |
channelId | string | Your Page or Instagram account ID |
platformUserId | string | The customer's ID on that channel |
customerName | string | null | Display name, when the channel gave us one |
title | string | The text on the button the customer tapped |
payload | string | null | The payload you set on the button. Get Started and menu items carry the payload set in the Page's settings |
referral | object | null | Set when the tap came from an ad or an m.me / ig.me link, for example a new customer who tapped Get Started after clicking your ad. Same shape as the Referral Object |
botEnabled | boolean | Whether the AI agent is on for this conversation. When true, the AI agent will answer the tap |
ticketId | string | null | The open ticket for this conversation |
inboxUrl | string | Deep link to the conversation in the inbox |
at | string (ISO 8601) | When we received the tap |
Retries
Failed deliveries are retried up to 6 times, as for
message.received.
Deduplicate on data.eventId.
Next Steps
- Messaging API: send buttons, and reply to the tap
- Message Received Event