---
title: "API: listSubscriptions"
slug: "api-listsubscriptions"
tags: ["subscriptions"]
updated: 2024-11-04T16:51:40Z
published: 2024-11-04T16:51:40Z
canonical: "support.smarteru.com/api-listsubscriptions"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://support.smarteru.com/llms.txt
> Use this file to discover all available pages before exploring further.
# API: listSubscriptions
- Starting June 1, 2022, SmarterU will require all API calls to POST to HTTPS. Any POST to HTTP will result in the SU:01 error (i.e., No POST data detected.).
- If you are viewing the help in a language other than English, please change your language to English before copying and pasting any code. All API attributes and functions are in English.
- Tags are required unless specified.
## Description
The listSubscriptions method retrieves [subscriptions](/v1/docs/subscriptions) that meet the specified filter.
## Who Has Access
[Administrators and owners](https://support.smarteru.com/docs/user-profile-information#access-level) have access to the listSubscriptions method.
## API Call XML Package
```markup
listSubscriptions
```
##
## SubscriptionVariant Tag Group
The SubscriptionVariant tag group is a container for the subscription filter.
```markup
```
The SubscriptionVariant tag may contain the following.
### Filters
A container for the subscription status filter. This tag contains the following.
| Tag | Description |
| --- | --- |
| **Status** (optional) | The subscription's status. Acceptable values are *Active* or *Inactive*. |
## API Response XML Package
The [API response XML package](/v1/docs/api-response-xml-package) will always include a Result, Info, and [Errors](/v1/docs/api-listsubscriptions#error-codes) tag.
```markup
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
```
The Subscriptions tag is a container for the subscriptions returned by the listSubscriptions method. Each subscription is contained in a Subscription tag and may contain the following.
### **Name**
The [subscription's name](/v1/docs/subscription-main#name-required).
### **SubscriptionID**
The subscription's system-generated identifier. This is an internal identifier that is not accessible via the SmarterU interface.
### **Description**
The [subscription's description](/v1/docs/subscription-main#description). Only the text of the description will be returned; HTML and formatting will not be included.
### **Status**
The [subscription's status](/v1/docs/subscription-main#status) (i.e., Active or Inactive).
### Example API Response XML Package
Below is an example of an API response XML package.
```markup
Success
15
Active
14
Active
576
Active
```
## **Error Codes**
| Error Code | Message |
| --- | --- |
| LSS:02 | The required permissions are not met to call the listSubscriptions method. |
| LSS:03 | The Status provided is not valid. The allowed values are Active and Inactive. |
## Related
- [API: listSubscriptionLearningModules](/api-listsubscriptionlearningmodules.md)
- [API: listVariants](/api-listvariants.md)
- [Subscriptions](/subscriptions.md)