View as markdown
Endpoints · Webhooks

Re-enable a webhook

POSThttps://api.tickerbot.io/v2/webhooks/{id}/enable

Re-enable a disabled webhook and start it clean.

stringrequired

Webhook id.

200
The updated webhook (now active).
400
Malformed webhook id.
403
webhook_over_limit — the account holds more webhooks than the plan allows (typically after a downgrade; on Free, any webhook is over the cap). Delete webhooks until you're within the limit, or upgrade.
404
Webhook not found.
  • Flips the webhook back to active and clears its match-state cache, so the next eval treats every currently-matching ticker as new and fires a single webhook.fired. Use it after fixing whatever caused the auto-disable.
  • To validate your receiver before real fires reach it, call POST /v2/webhooks/{id}/test first.
  • Calling enable on an already-active webhook is a no-op — returns the current record unchanged.
  • Re-enable clears last_match_set and last_evaluated_at so the next eval treats every currently-matching ticker as new and fires a single webhook.fired. To validate the receiver before resuming real fires, call POST /v2/webhooks/{id}/test.