Create a webhook
Creates a webhook in the database.
POST
Authorizations
Use your Formbricks x-api-key to authenticate.
Body
application/json
The webhook to create
The name of the webhook
The URL of the webhook
The source of the webhook
Available options:
user
, zapier
, make
, n8n
The ID of the environment
The triggers of the webhook
Available options:
responseFinished
, responseCreated
, responseUpdated
The IDs of the surveys
Response
201 - application/json
Webhook created successfully.
The ID of the webhook
The name of the webhook
The date and time the webhook was created
Example:
"2021-01-01T00:00:00.000Z"
The date and time the webhook was last updated
Example:
"2021-01-01T00:00:00.000Z"
The URL of the webhook
The source of the webhook
Available options:
user
, zapier
, make
, n8n
The ID of the environment
The triggers of the webhook
Available options:
responseFinished
, responseCreated
, responseUpdated
The IDs of the surveys
Was this page helpful?