Get subscriptions
Learn how to get your user's subscriptions
Description
The following route enables you to get your user's subscriptions.
Endpoint
GET https://sentry.aleno.ai/subscriptions
Query parameters
Name | required | Type | Description |
---|---|---|---|
userIds | optional | string list | IDs of users you want to fetch subscriptions. If not provided, will return all subscriptions of all your users. |
To get all subscriptions, simply remove the query parameter userIds (it is optional): GET /users
Payload
No payload.
CURL example
Result
Returns a list of objects, each representing a subscription detail, structured as follows:
Name | Type | Description |
---|---|---|
subscription | Data pertaining to the subscription | |
metric | Detailed information about the metric subscribed to |
Last updated