All requests below will use this key. Your API key is sent directly to api.cueapi.ai and never stored by the docs site.
POST
/v1/auth/webhook-secret/regenerateRotate Webhook Secret
Generate a new webhook signing secret and revoke the current one.
Warning
This immediately revokes your current webhook secret. Update your webhook handlers to use the new secret before regenerating.
Request
bash
curl -X POST https://api.cueapi.ai/v1/auth/webhook-secret/regenerate \
-H "Authorization: Bearer cue_sk_YOUR_KEY"Response
json
{
"webhook_secret": "whsec_NEW_SECRET_HERE...",
"message": "Webhook secret regenerated. Old secret is now invalid."
}POST
Try it/v1/auth/webhook-secret/regenerateRequest Body
Enter your API key above to send requests