Webhooks
Delete a webhook
delete
/v1/webhooks/{webhookId}No “Try it” here: this call changes data. Run the code samples from your own backend.
Deletes a webhook. Knock stops sending to it at once, including retries already scheduled.
Needs an API key with the Admin role.
ApiKeyAuthheader
x-api-key<token>Your Knock API key. Reading webhooks takes a key with read access to integrations: the Admin, Editor, Viewer, CRM Admin or AI Manager role (not an Enrichment API key). Changing them takes a key with the Admin role.
webhookId*stringID of the webhook.
Format
uuidThe webhook was deleted.
curl -X DELETE 'https://app.knock-ai.com/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'x-api-key: <YOUR_API_KEY>'Example Response
Empty