DocsAPI ReferenceUpdate a webhook endpoint
PATCH
/api/v1/workspaces/{workspace_id}/webhooks/{endpoint_id}Updates the URL, description, or filter types of an existing webhook endpoint.
Path Parameters
workspace_idstringrequirede.g. "aaaaaaaa-0000-0000-0000-000000000001"Workspace UUID.
endpoint_idstringrequirede.g. "ep_2abc1234..."Svix endpoint ID.
Headers
X-API-KeystringrequiredYour workspace API key (owner role required).
Content-TypestringrequiredMust be `application/json`.
Request Body
application/json
urlstringNew delivery URL.
Example: "https://new-server.com/webhooks/serveka"
descriptionstringNew description.
Example: "Updated production handler"
filter_typesarrayUpdated event type filter.
Example: ["bot.status_changed","transcription.ready"]
Responses
200Updated endpoint.
422Unknown event type in `filter_types`.
502Svix API error.
503Svix API key not configured.
Try it live
API Configurationglobal · all endpoints
PATCH
https://api.serveka.com/api/v1/workspaces/aaaaaaaa-0000-0000-0000-000000000001/webhooks/ep_2abc1234...Path Parameters
Request Body
curl -X PATCH 'https://api.serveka.com/api/v1/workspaces/aaaaaaaa-0000-0000-0000-000000000001/webhooks/ep_2abc1234...' \
-H "Content-Type: application/json"\
-d '{
"url": "https://new-server.com/webhooks/serveka",
"description": "Updated production handler",
"filter_types": [
"bot.status_changed",
"transcription.ready"
]
}'