v1
latestOpenAPI 3.1.02026-07-2665164286.3 KBWebhooks
Update Webhook Endpoint
Updates the URL and/or subscribed event types for a webhook endpoint. The events array is fully replaced — include all types you want to keep.
patch/v3/webhooks/endpoints/{endpoint_id}
Path parameters
endpoint_idstring required
Webhook endpoint ID
Request body
Response
Successful response
Example response
{
"data": {
"endpoint_id": "ep_abc123def456",
"url": "https://example.com/webhook",
"events": [
"avatar_video.success",
"avatar_video.fail"
],
"status": "enabled",
"created_at": "2024-04-01T12:00:00Z",
"secret": "whsec_abc123def456"
}
}