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 }
Lists all webhook subscriptions that are registered for the merchant. The results are paginated and provided in chronological order.
API key for authentication
Returns a list of webhook subscriptions.
The response is of type object.
object
Was this page helpful?