Webhooks
Update a webhook endpoint
Update a webhook endpoint, or pause, resume or archive it by setting status.
patch/v1/webhook-endpoints/{webhook_endpoint_id}
Request
- Base URL: https://api.scrip.dev
- URL: https://api.scrip.dev/v1/webhook-endpoints/{webhook_endpoint_id}
- Auth: HTTP bearer
Path parameters
webhook_endpoint_idstring uuid required
The webhook endpoint's id.
Request body
Example request
{
"description": "Updated webhook receiver",
"enabled_events": [
"*"
],
"status": "DISABLED",
"url": "https://example.com/webhooks/scrip"
}Response
Updated endpoint
Example response
{
"circuit_broken_until": "2027-12-31T23:59:59Z",
"created_at": "2027-01-15T10:30:00Z",
"description": "Production webhook receiver",
"enabled_events": [
"balance.credited",
"balance.debited"
],
"id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"rate_limited_until": "2027-12-31T23:59:59Z",
"secret": "whsec_3f9a1c7e5b2d84060e1a9c3d7f5b2e8a4c6d0f1b3a5e7c9d2f4b6a8e0c1d3f57",
"status": "ACTIVE",
"updated_at": "2027-01-15T10:30:00Z",
"url": "https://example.com/webhooks/scrip"
}Changes
No recorded changes to this operation across all 1 revision of this API.