Skip to main content

Register Webhook

Registers a webhook subscription: the action to be notified about, the destination URL, and the token that is sent as the Authorization header on delivery.

POST/api/webhooksAuth: Required

Request Body

actionstringRequired

The event class to be notified about. One of deposit, withdrawal, order, trade or market.

tokenstringRequired

Token used as Authorization header in webhook calls

urlstringRequired

Webhook destination URL

In progress

The response fields for this endpoint are still being written up. Until then, the Swagger UI lets you run the call and see the actual response.

Errors

Beyond the shared errors:

CodeMeaning
1001action is not one of deposit, withdrawal, order, trade, market