webhooks
Rotate a webhook endpoint's signing secret
Changed onIssues a new signing secret for the endpoint, returned exactly once. With mode graceful (the default) the previous secret keeps verifying for 24 hours (previous_secret_invalid_at in the response) so the new secret can be rolled out across a deploy without dropping deliveries in flight. With mode immediate the previous secret stops verifying at once, for a secret that may be compromised. A missing or wrong-organization id returns 404.
post/webhooks/endpoints/{endpoint_id}:rotateSecret
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
- TypeScripthttps://skmtc.dev/axilioai/apis/axilio-api/docs/webhooks/endpoints/:endpoint_id:rotateSecret/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
endpoint_idstring required
Endpoint identifier.
Request body
Example request
{
"$schema": "/api/v1/WebhookRotateSecretRequest.json"
}Response
OK
Example response
{
"$schema": "/api/v1/WebhookRotateSecretResponse.json"
}Changes
- info
endpoint added
- info