Create a webhook
formbricks_create_webhookRegister a webhook that fires on survey events. Formbricks v2: POST /management/webhooks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The HTTPS URL Formbricks should POST to. | |
| name | Yes | A label for the webhook. | |
| triggers | Yes | Events to fire on, e.g. ["responseCreated", "responseFinished"]. | |
| surveyIds | Yes | Surveys the webhook covers. Pass an empty array for all surveys. | |
| workspaceId | Yes | The workspace the webhook belongs to. | |
| environmentId | No | Restrict to one environment. |