Skip to main content

Get subscriptions

Get all subscriptions for your salable organisation. The response uses cursor pagination.

tip

You can group returned subscriptions by their owner by providing the owner param.

import { Salable } from '@salable/node-sdk';

const salable = new Salable('your-salable-api-key', 'v2');
await salable.subscriptions.getAll({
owner: 'orgId_1',
});