Update a webhook endpoint
Change a webhook endpoint's URL, events, settle delay, or enabled flag. A new URL goes back to pending and re-runs the ownership challenge; an unverified endpoint cannot be enabled here, so use POST /v1/webhooks/{id}/verify.
API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
PATCH /webhooks/:id body.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/webhooks/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "url": "http://example.com", "events": [ "media.transcribed" ], "settleMs": 0, "enabled": true, "verificationStatus": "pending", "createdAt": "string", "lastDeliveredAt": "string", "lastFailedAt": "string", "consecutiveFailures": 0}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "x402Version": 2, "accepts": [ {} ], "error": "string"}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}List webhook endpoints GET
Page through the webhook endpoints registered on this account, with their URLs, subscribed events, and enabled state. Call it to see what already receives render, media, and compose events before adding another.
Fire a webhook.test delivery POST
Queue a webhook.test delivery to a registered endpoint to check your receiver before relying on render or media events. Returns a delivery id; limited to 5 per minute per key and 100 per day per endpoint.