post https://api.qminder.com/v1/webhooks
Add a new webhook.
Adds a webhook to the account.
After a webhook is added, events will be sent to the webhook immediately when events occur.
Qminder will send HTTP requests to the given URL for every webhook event for all Locations in the account.
Response field | Type | Description |
---|---|---|
statusCode | number | The HTTP status code. 200 for OK. |
id | string | Unique ID of the webhook object in Qminder. Useful for deleting the webhook later. |
secret | string | The HMAC shared secret of this webhook. Useful to validate that the payload was sent by Qminder. |