Skip to content

DocsAPI referenceWebhooks

Update a webhook endpoint

Changes the URL, enables or disables the endpoint. Deliveries still pending go to the new URL.

PATCH /v1/webhook-endpoints/{id}

Needs an API key: Authorization: Bearer $VIDEXO_API_KEY.

Parameters

Parameters
NameInTypeDescription
id requiredpathstring, up to 64 charactersThe endpoint id.

Body UpdateWebhookEndpointRequest

Body fields
NameTypeDescription
url string, URL, up to 2,048 charactersA public https URL on the default port.
enabled boolean

Request

bash
curl -X PATCH "$VIDEXO_API_URL/v1/webhook-endpoints/we_4n8c2kq0x7m1v5z3b9r6t0wa" \
  -H "Authorization: Bearer $VIDEXO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled": false
}'

Response

200 JSON
{
  "id": "we_4n8c2kq0x7m1v5z3b9r6t0wa",
  "url": "https://example.com/hooks/videxo",
  "enabled": false,
  "created_at": "2026-11-04T09:00:00.000Z",
  "updated_at": "2026-11-04T15:00:00.000Z"
}

Responses

Responses
StatusBodyWhen
200WebhookEndpointThe endpoint.
400Probleminvalid_request
401Problemauthentication_failed (missing_api_key, invalid_api_key, api_key_revoked, api_key_expired)
403Problempermission_denied (token_scope): a client token cannot call this route
404Problemnot_found (webhook_endpoint)
429Problemrate_limited, with Retry-After in seconds