curl -X POST https://api.60db.ai/agents/integrations/INTEGRATION_ID/rotate-secret \
-H "Authorization: Bearer your-api-key"
Agent Integrations
Rotate Integration Signing Secret
Issue a new signing secret for a custom webhook. The old one stops at once
POST
/
agents
/
integrations
/
{id}
/
rotate-secret
curl -X POST https://api.60db.ai/agents/integrations/INTEGRATION_ID/rotate-secret \
-H "Authorization: Bearer your-api-key"
Issue a new signing secret for a custom webhook. The new secret is returned once. The old secret stops working at once, so update your endpoint in the same moment. Headers and the other settings do not change.
Only custom webhooks have a signing secret. Other providers return
Store the value now. It is not shown again. Check the signatures in your endpoint with it, as shown in Verify signatures.
422.
Request
Headers
Path
Response
200 OK{
"success": true,
"data": { "signing_secret": "whsec_…" }
}
Errors
| Status | Code | Meaning |
|---|---|---|
| 403 | POLICY_DENY | Your role cannot manage integrations, or the API key lacks the agents scope |
| 404 | INTEGRATION_NOT_FOUND | No connection with this ID in your workspace |
| 422 | INTEGRATION_NO_SIGNING_SECRET | The connection is not a custom webhook |
| 429 | RATE_LIMITED | More than 10 integration changes in the last minute |
Example
curl -X POST https://api.60db.ai/agents/integrations/INTEGRATION_ID/rotate-secret \
-H "Authorization: Bearer your-api-key"