Force a fresh ensure_webhook round-trip for the calling user. Idempotent: if BaviMail already has an active+verified webhook, returns it as already_active without recreating. If a previously registered webhook is dead (consecutive_failures>=5, disabled_at set, or is_active=false), it is deleted and recreated. The endpoint is scoped strictly to current_user.id; operators with admin support tooling use a separate path. Rate-limited to 10 requests/minute per authenticated user (JWT sub claim, with credential/IP fallback for unparsable or unauthenticated callers).
Documentation Index
Fetch the complete documentation index at: https://bavlio.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.