Webhooks workflow

To configure webhooks to receive event notifications:

  1. Implement a web application that will consume the webhook content.
  2. Add a webhook in the dashboard.

Implement the web application: Guidelines

When implementing the web application that consumes the webhook, follow these guidelines.

Connection URL

For security considerations, outgoing traffic is only allowed on port 443, using HTTPS.

The URL for the web application that consumes the webhook must have the following format:


For example:


API key

When you create a webhook, you can configure an API key for identification or authorization. This key is sent in the header of the webhook, in the authorization field; for example:

  "content-length": "1464",
  "user-agent": "Mozilla/5.0 (compatible; pycurl)",
  "accept": "*/*",
  "accept-encoding": "gzip,deflate",
  "content-type": "application/json",
  "authorization": "Basic 6bf7456c-48e7-4236-be24-a1e382234785",
  "uber-trace-id": "4563a48988781ac9:6b45e9f99425b166:81439b786fed1563:1"


The event payloads are provided in JSON. At a minimum, payloads have the following fields:

  "event": "event_name",
  "config": {
    // Data specific to the event

They can also include additional fields that are specific to an event.

For a description of the payloads for the available events, see Webhook events.

Add a webhook in the dashboard

To add a webhook:

  1. In the Mix dashboard, click the Manage tab.

  2. In the left-hand pane, expand the Organizations section.

  3. Select the organization and click the Webhooks tab.

  4. Click the Add webhook icon. An empty form is displayed.

    Empty webhook form

  5. Enter a webhook name.

  6. Enter the URL of the web application that will consume the webhook.

  7. (Optional) Enter an API key. This API key can be used for identification or authorization and is managed by your web applications.

    Note: If you have previously added your API key for the web application, you won’t see this field as your key has already been authenticated.

  8. Select a Mix application.

  9. Select one or more environments.

  10. Select one or more events that will trigger the webhook.

  11. Click Save.

The webhook card is displayed. You can edit or delete a webhook by clicking the Edit icon or the Delete icon in the top right corner of the card.

Webhook card