Skip to main content
GET
/
webhook-subscriptions
/
{id}
Get webhook subscription
const options = {method: 'GET'};

fetch('https://api.dolfinai.co/webhook-subscriptions/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "url": "<string>",
  "eventTypes": "<array>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "clientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "active": true,
  "consecutiveFailures": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

id
string<uuid>
required

Response

OK

url
string
required
eventTypes
array
required
id
string<uuid>
clientId
string<uuid>
active
boolean
consecutiveFailures
createdAt
string<date-time>
updatedAt
string<date-time>