Webhooks
Set webhook config
Changed onReplace the endpoint URL and subscribed events. Preserves the signing secret. A fresh endpoint is undeliverable until a secret is set (see rotate-secret).
put/v1/webhooks
Request
- Base URLhttps://api.totalis.trade
- Auth
- HTTP bearer
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
owner_kind'user' | 'mm'
Which endpoint to address: user (default) or mm (market-maker).
Request body
Response
OK
Changes
- info
endpoint added
- info