Change a webhook endpoint
Changes the fields sent.
secretKeyAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.
webhook_id*stringThe webhook endpoint's id.
^whe_[0-9A-Za-z]{20}$"whe_6Tn1Vb8XcK3mPq9LsD2f"application/json- body
{ "enabled": false}url?stringurilength <= 2000description?stringlength <= 500event_types?array<>enabled?booleanThe endpoint as it is now.
application/json- response
An endpoint (never its secret).
{ "id": "whe_6Tn1Vb8XcK3mPq9LsD2f", "url": "https://example.com/hooks/calls", "description": "our CRM", "event_types": [], "env": "live", "enabled": true, "disabled_reason": null, "failing_since_unix": null, "previous_secret_until_unix": null, "created_unix": 1793300000, "updated_unix": 1793300000}id*WebhookEndpointId^whe_[0-9A-Za-z]{20}$"whe_6Tn1Vb8XcK3mPq9LsD2f"url*stringuridescription*stringlength <= 500event_types*array<>The types it takes; empty takes them all, including types added later.
env*Envlive (real, charged) or test (a test key's, never charged).
"live""test"enabled*booleandisabled_reason*|Why it is off (manual, or failing after five days of failures); null while it is on.
"manual""failing"nullfailing_since_unix*|Since when deliveries have failed without a success in between.
int64previous_secret_until_unix*|Until when the secret a rotation replaced still signs.
int64created_unix*UnixUnix seconds, UTC.
int641793300000updated_unix*UnixUnix seconds, UTC.
int641793300000curl -X PATCH 'https://api.daxov.com/v1/webhooks/whe_6Tn1Vb8XcK3mPq9LsD2f' \ -H 'Content-Type: application/json' \ -d '{ "enabled": false}'{ "id": "whe_6Tn1Vb8XcK3mPq9LsD2f", "url": "https://example.com/hooks/calls", "description": "our CRM", "event_types": [], "env": "live", "enabled": true, "disabled_reason": null, "failing_since_unix": null, "previous_secret_until_unix": null, "created_unix": 1793300000, "updated_unix": 1793300000}