Skip to main content

getActiveSubscriptions

Get markers of the user's active subscriptions. 🔐 This method requires authorization.

Description​

Fetches the markers of the plans the authenticated user is subscribed to. Resolves to string[].

.getActiveSubscriptions(

);

Examples​

Minimal example​

const response = await Subscriptions.getActiveSubscriptions();

Example response​

[]

Response schema​

Schema: string[]

string[]
Markers of the plans the user is actively subscribed to, for example ["premium"]. Empty when there are none.