webhook_create_update_payload
urlstring
The url where the events should be sent
Example:
https://example.com/webhooknamestring
The name of the webhook
subscriptionsstring[]
The events you want to subscribe to.
Possible values: [conversation_created, conversation_status_changed, conversation_updated, message_created, message_updated, contact_created, contact_updated, webwidget_triggered, conversation_typing_on, conversation_typing_off]
Example:
["conversation_created","conversation_status_changed"]webhook_create_update_payload
{
"url": "https://example.com/webhook",
"name": "string",
"subscriptions": [
"conversation_created",
"conversation_status_changed"
]
}