Webhooks
Register a webhook
Admins of your organization, from a signed-in session in the mlivechat app; a bot token can't call it.
We make the signing secret and answer it once, in secret_key: check each delivery with it.
POST/v1/configuration/action/register_webhook
Specifics
| Method URL | POST https://app.staging.mlive.chat/v1/configuration/action/register_webhook |
|---|---|
| Who can call it | Admins of your organization, from a signed-in session in the mlivechat app; a bot token can’t call it. Most teams use Settings, Webhooks instead. |
Request body
application/json
urlstring (uri)requiredHttps and a public address.actionWebhookActionrequiredOne ofincoming_chat,incoming_event,chat_deactivated,chat_transferred,thread_tagged,routing_status_set,customer_visit_started.descriptionstringUp to 200 characters.typestringOne oflicense. Default"license".
Response
200 · application/json
OK.
idstringrequiredsecret_keystringrequiredShown once.
Errors
- default
Nothing found. Try a method name, such as send event.