Register a webhook
Endpoint Details
Register Webhook
Register a new webhook endpoint to receive swap lifecycle events
POST
Register a webhook
The full lifecycle, payload formats, signature verification, and Discord/Slack auto-detection are documented at Webhooks.
The
secret is only returned at creation time. Save it immediately — you’ll need it to verify HMAC signatures on incoming webhook deliveries.Authorizations
Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4
Body
application/json
HTTPS URL. Discord/Slack URLs are auto-detected.
Defaults to all 6 events.
Available options:
quote.created, deposit.initiated, swap.pending, swap.success, swap.failed, swap.refunded Auto-detected from URL if omitted.
Available options:
standard, discord, slack Response
Webhook created. The secret is only returned once.