webhooks
A new signing secret, shown once. The old one keeps signing for the overlap.
overlapHours defaults to 24 (0 to 168). During the overlap every delivery carries a signature from each secret; previousSecret.expiresAt says when the old one stops. 0 cuts over at once.
post/v1/webhooks/endpoints/{endpointId}/rotate-secret
Request
- Base URL: https://api.50heads.com
- URL: https://api.50heads.com/v1/webhooks/endpoints/{endpointId}/rotate-secret
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://auth.50heads.com/authorize, token URL https://auth.50heads.com/token; client credentials, token URL https://auth.50heads.com/token, scopes: webhooks:write)
Path parameters
endpointIdstring required
The webhook endpoint id.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.