cURL
curl --request POST \ --url https://app.sandbox.rio.trade/api/webhooks/{type} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "userId": "66290ac8bd3903485989f82e", "url": "<string>" }'
{ "id": "66733d33222710ab2785dc62", "secret": "IgAeeIIorKQ86gAGItsmY0slzhxRY1Gvj/VIJz8DtIs=" }
Type of webhook to be created.
orders
bank-accounts
users
Created
The response is of type object.
object