Rotate Signing Secret
Create a new signing secret for an endpoint. The new secret is returned only in this response.
For the next 24 hours every request carries two signatures, one with the old secret and one with the new, so the receiver keeps verifying whichever secret it holds. Deploy the new secret within that window.
Path parameters
endpoint_id
The endpoint’s id (whe_...).
Response
Successful Response
endpoint_id
secret
The new signing secret (whsec_...). Returned only in this response.
previous_secret_valid_for_hours
How long requests stay signed with the old secret as well (24).
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
503
Service Unavailable Error