Skip to main content

Rotate Signing Secret

POST/v1/webhook-endpoints/{id}/rotate-secret

Rotate the signing secret, returning a one-time new plaintext value.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
idpathYesstringThe callback endpoint ID, whe_...

Response​

StatusDescription
201Created
4xxClient error

For the common error envelope and how to handle it, see Error Codes.

Notes​

Takes effect immediately, with no overlap period: the very next delivery is signed with the new secret. Deliveries that arrive at the receiver before the new secret has been saved will fail signature verification, and a failed verification typically shows up as a 4xx — which, under the delivery policy, is a permanent failure that is not retried. So rotate during a quiet period, or follow the order "disable → rotate → save → re-enable/verify" (the way back is POST {id}/enable). The plaintext appears only in this response, the same rule as at creation.