POST
/
api
/
service
/
webhook-subscription
/
list
JavaScript
import Ivy from '@getivy/node-sdk';

const client = new Ivy({
  apiKey: 'My API Key',
});

const subscriptions = await client.webhook.subscription.list();

console.log(subscriptions.count);
{
  "items": [
    {
      "id": "<any>",
      "merchant": "<any>",
      "merchantApp": "<any>",
      "url": "<string>",
      "events": [
        "test"
      ],
      "createdAt": "<any>",
      "updatedAt": "<any>"
    }
  ],
  "skip": 1,
  "hasNext": true,
  "count": 0
}

Authorizations

X-Ivy-Api-Key
string
header
required

API key for authentication

Body

application/json

Response

200 - application/json

Returns a list of webhook subscriptions.

The response is of type object.