curl --request POST \
--url https://apix.spotzee.com/api/client/webhooks/{endpointId}/rotate-secret \
--header 'Authorization: Bearer <token>'{
"signing_secret": "whsec_5f6b9c4e2a8d3f1b..."
}Generates a fresh plaintext signing secret, persists it encrypted, and returns the new plaintext exactly once. The previous secret stops verifying deliveries the moment this call returns — roll forward downstream verifiers immediately. Idempotent when called with an Idempotency-Key header.
curl --request POST \
--url https://apix.spotzee.com/api/client/webhooks/{endpointId}/rotate-secret \
--header 'Authorization: Bearer <token>'{
"signing_secret": "whsec_5f6b9c4e2a8d3f1b..."
}Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Project-scoped secret API key (sk_…). Pass in the Authorization: Bearer <key> header. Grants access to the project the key was issued for.
Numeric webhook endpoint identifier.
17
The new plaintext signing secret.
One-time-visible signing secret returned by POST /webhooks/{endpointId}/rotate-secret. Persist it and update any downstream verifier before the next event fires.
New plaintext signing secret. Returned exactly once — store it now. The previous secret stops verifying deliveries the moment this call returns.
"whsec_5f6b9c4e2a8d3f1b..."
Was this page helpful?