v1
latestOpenAPI 3.1.02026-08-042453938.9 KBWebhooks
Update a webhook
Update webhook URL, events, or status. Requires a secret key (sk_).
patch/v1/webhooks/{id}
Path parameters
idstring required
Webhook ID
Request body
Response
Webhook updated
Example response
{
"id": "whk_abc123def456",
"url": "https://api.example.com/webhooks/drip",
"events": [
"charge.succeeded",
"charge.failed",
"customer.balance.low"
],
"isActive": true,
"secret": "whsec_abc123...",
"description": "Production billing events",
"createdAt": "2024-01-15T10:30:00.000Z"
}