Create Webhook

POST

Create a new Webhook.

Limit of 75 registrations per triggerType, per site.

Access to this endpoint requires a bearer token from a Data Client App.

Required scope | sites:write

Path parameters

site_idstringRequired

Unique identifier for a Site

Request

This endpoint expects an object.
triggerTypeenumOptional
urlstringOptional

URL to send the Webhook payload to

filterobjectOptional

Only supported for the form_submission trigger type. Filter for the form you want Webhooks to be sent for.

Response

Request was successful

idstringOptional

Unique identifier for the Webhook registration

triggerTypeenumOptional
urlstringOptional

URL to send the Webhook payload to

workspaceIdstringOptional

Unique identifier for the Workspace the Webhook is registered in

siteIdstringOptional

Unique identifier for the Site the Webhook is registered in

filterobjectOptional

Only supported for the form_submission trigger type. Filter for the form you want Webhooks to be sent for.

lastTriggereddatetimeOptional

Date the Webhook instance was last triggered

createdOndatetimeOptional

Date the Webhook registration was created

Errors