Webhooks
Update a webhook
Partial update: send any subset of name, url, tickers, criteria, notify_interval_min, active_hours, is_active. tickers replaces the whole list; criteria keys are merged into the stored criteria (set a key to null to drop that constraint); active_hours needs both start and end.
Sending a url or is_active: true resumes a paused webhook and resets consecutive_failures to 0. is_active: false stops evaluation without deleting anything. Changing tickers does not reset the baseline: contracts already unusual on a newly added ticker are delivered on the next evaluation.
patch/webhooks/{id}
Request
- Base URL: https://optionsbell.com/api/v1
- URL: https://optionsbell.com/api/v1/webhooks/{id}
- Auth: API key in header X-API-Key
Request body
Example request
{
"active_hours": {
"start": "09:00",
"end": "16:00"
}
}Response
The updated webhook
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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.