Create Webhook

POST

Create a new webhook

Path parameters

site_idstringRequired

Unique identifier for a Site

Headers

Accept-VersionstringOptional

The API version

Request

This endpoint expects an object.
triggerTypeenumRequired
urlstringRequired

The https URL on your server the webhook will send a request to when the webhook is triggered

filtermap from strings to anyOptional

filter for selecting which events you want webhooks to be triggered for. ** Only available for form_submission trigger types.

Response

Request was successful

_idstringOptional

Unique identifier for a Webhook

triggerTypeenumOptional
triggerIdstringOptional

Unique identifier for the Webhook Trigger

sitestringOptional

Unique identifier for a Webhook

filtermap from strings to anyOptional

filter for selecting which events you want webhooks to be triggered for.

lastUseddatetimeOptional

Date trigger was last used

createdOndatetimeOptional

Date trigger was created