GET
/
api
/
webhooks
/
{id}
curl --request GET \
  --url https://app.sandbox.rio.trade/api/webhooks/{id} \
  --header 'x-api-key: <api-key>'
{
  "userId": "66562bc04fe8bf83c577c178",
  "type": "orders",
  "url": "https://app.test.rio.trade/en/account",
  "id": "66733d33222710ab2785dc62"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Id of the webhook to be obtained.

Response

200 - application/json
OK
userId
string

Id of the user that the webhook is for

type
enum<string>

Type of webhook

Available options:
orders,
bank-accounts,
users
url
string

URL to send the webhook to

id
string

Id of the webhook registration