DELETE
/
webhooks
/
{id}
curl --request DELETE \
  --url https://app.formbricks.com/api/v2/management/webhooks/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "name": "<string>",
  "createdAt": "2021-01-01T00:00:00.000Z",
  "updatedAt": "2021-01-01T00:00:00.000Z",
  "url": "<string>",
  "source": "user",
  "environmentId": "<string>",
  "triggers": [
    "responseFinished"
  ],
  "surveyIds": [
    "<string>"
  ]
}

Authorizations

x-api-key
string
header
required

Use your Formbricks x-api-key to authenticate.

Path Parameters

id
string
required

The ID of the webhook

Response

200 - application/json
Webhook deleted successfully.
id
string

The ID of the webhook

name
string | null

The name of the webhook

createdAt
string

The date and time the webhook was created

Example:

"2021-01-01T00:00:00.000Z"

updatedAt
string

The date and time the webhook was last updated

Example:

"2021-01-01T00:00:00.000Z"

url
string

The URL of the webhook

source
enum<string>

The source of the webhook

Available options:
user,
zapier,
make,
n8n
environmentId
string

The ID of the environment

triggers
enum<string>[]

The triggers of the webhook

Available options:
responseFinished,
responseCreated,
responseUpdated
surveyIds
string[]

The IDs of the surveys

Was this page helpful?