Rotate endpoint secret
Generate a new signing secret. The old secret is immediately invalidated.
Generates a new signing secret for the endpoint. The old secret is invalidated immediately. The response includes the newDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
secret — store it and update your verification code before in-flight deliveries arrive.
Authorizations
API key passed in the X-API-Key header.
Path Parameters
Endpoint ID
Response
Endpoint with new secret
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"