This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Triggered when a postback button is clicked.
Unique event ID. Allows clients to ignore duplicate webhooks.
Fully qualified domain name of the entity associated with the event. Expected wix.crm.inbox.v2.message
.
Event name. Expected button_interacted
.
ID of the entity associated with the event.
Event timestamp.
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
If present, indicates the action that triggered the event.
Event information.
The data payload will include the following as an encoded JWT:
{
"data": {
"eventType": "wix.crm.inbox.v2.message_button-interacted",
"instanceId": "<app-instance-id>",
"data": "<stringified-JSON>",
// The identity field is sent as a stringified JSON
"identity": {
"identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
"anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR
"memberId": "<memberId>", // in case of MEMBER
"wixUserId": "<wixUserId>", // in case of WIX_USER
"appId": "<appId>" // in case of APP
}
}
}
{
"id": "690ad087-6530-4f44-a544-f1b29329b389",
"entityFqdn": "wix.crm.inbox.v2.message",
"slug": "button_interacted",
"entityId": "32e63af1-f51b-4e2e-908f-8a5e8ed88650",
"actionEvent": {
"body": {
"conversationId": "5f65164f-b373-3cb9-be2e-f1fdc00c86a9",
"appId": "a0c38670-6845-41e0-8f41-85a6054ccd98",
"interactionId": "spa_day_54321__change_appointment",
"interactedBy": {
"contactId": "890a3816-85b4-44ab-9085-524972a850ef"
}
}
},
"eventTime": "2021-12-29T09:50:04.918118Z",
"triggeredByAnonymizeRequest": false
}