Webhooks
Rotate the signing secret
Generates a new signing secret and returns it once, together with the webhook. The old secret stops being used immediately - the next delivery is signed with the new one, so update your verifier before or right after calling this. No request body.
post/webhooks/{id}/rotate-secret
Request
- Base URL: https://optionsbell.com/api/v1
- URL: https://optionsbell.com/api/v1/webhooks/{id}/rotate-secret
- Auth: API key in header X-API-Key
Response
Webhook with the new secret.
Example response
{
"id": "cmg1x2y3z0000abcd12345678",
"name": "NVDA/TSLA calls",
"url": "https://example.com/hooks/optionsbell",
"tickers": [
"NVDA",
"TSLA"
],
"active_hours": {
"start": "09:00",
"end": "16:00"
},
"secret": "whsec_0f1e2d3c4b5a69788796a5b4c3d2e1f00f1e2d3c4b5a6978"
}Changes
No recorded changes to this operation across all 1 revision of this API.