Create a webhook subscription
The following endpoint will create a webhook based on the service, event and eventfilters provided.
WebhookRequest object
Property | Type | Description | Required |
---|---|---|---|
signingKey | string | Set your own signing key to validate webhooks | Yes |
event | string | Yes | |
eventFilters[] | object | Event filters are inclusive, which means you will only get events for filters you add | |
eventFilters.key | string | Event filters are inclusive e.g. adding a key and value will mean getting events for that value | Yes |
eventFilters.value | string | The filter value. | Yes |
service | string | The service that will be sending the webhooks. | |
url | string | A valid HTTPS endpoint to receive the webhooks | Yes |
template | string | Will use a specific template for the webhook body |
Last updated