Update a webhook endpoint
Partial update. Only provided fields are changed; omitted fields are preserved.
Partially updates a webhook endpoint. Only the fields you include in the request body are changed; omitted fields are preserved. You can update theDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
url, description, enabled_events, status (ACTIVE or DISABLED), and metadata. To rotate the signing secret, use the rotate secret endpoint instead.
Authorizations
API key passed in the X-API-Key header.
Path Parameters
Endpoint ID
Body
Fields to update
Updated description
"Updated webhook receiver"
Replace the event type subscription list
["*"]Replace metadata
Set to ACTIVE or DISABLED
"DISABLED"
New HTTPS URL for deliveries
"https://new-url.example.com/webhooks"
Response
Updated endpoint
When the endpoint was created
"2026-01-15T10:30:00Z"
Human-readable label
"Production webhook receiver"
Subscribed event types
["balance.credited", "balance.debited"]Endpoint ID
"550e8400-e29b-41d4-a716-446655440000"
Arbitrary metadata
Signing secret (only returned on create and rotate — store it immediately)
"whsec_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2"
Lifecycle status: ACTIVE, DISABLED, or ARCHIVED
"ACTIVE"
When the endpoint was last modified
"2026-01-15T10:30:00Z"
Destination URL for deliveries
"https://example.com/webhooks"