Skip to main content
GET
/
webhooks
/
{id}
cURL
curl --request GET \
  --url https://sandbox.onconsul.com/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>'
{
  "active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "events": [
    "deposit.created"
  ],
  "id": "<string>",
  "url": "<string>"
}
Retrieve a webhook subscription by ID.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

OK

active
boolean
required
created_at
string<date-time>
required
events
enum<string>[]
required
Available options:
deposit.created,
deposit.updated,
inbound_transfer.created,
payout.created,
payout.updated,
withdrawal.created,
withdrawal.updated,
recipient.created,
recipient.updated
id
string
required
url
string<uri>
required