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-Keystringrequired

Your workspace API key (owner role required).

Content-Typestringrequired

Must be `application/json`.

Request Body

application/json

urlstring

New delivery URL.

Example: "https://new-server.com/webhooks/serveka"

descriptionstring

New description.

Example: "Updated production handler"

filter_typesarray

Updated 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.