Configuration APIRegister a webhook

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 URLPOST https://app.staging.mlive.chat/v1/configuration/action/register_webhook
Who can call itAdmins 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)required

    Https and a public address.
  • actionWebhookActionrequired

    One of incoming_chat, incoming_event, chat_deactivated, chat_transferred, thread_tagged, routing_status_set, customer_visit_started.
  • descriptionstring

    Up to 200 characters.
  • typestring

    One of license. Default "license".

Response

200 · application/json

OK.

  • idstringrequired

  • secret_keystringrequired

    Shown once.

Errors

  • default