---
title: "Get all subscriptions"
method: GET
path: "/subscriptions"
tags: ["Subscription Validation"]
---

# Get all subscriptions

`GET /subscriptions`

This will provide access to subscriptions in database.

## Query parameters

- `apiId` integer
- `appId` integer
- `apiUUID` string
- `applicationUUID` string

## Headers

- `xWSO2Tenant` string, required

## Response `200`

An array of subscriptions in the database

- SubscriptionList
  - `count` integer — Number of Subscriptions returned.
  - `list` Subscription[]
    - `subscriptionUUID` string
    - `subscriptionId` integer
    - `policyId` string
    - `apiUUID` string
    - `apiId` integer
    - `applicationUUID` string
    - `appId` integer
    - `subscriptionState` string
    - `apiName` string
    - `apiVersion` string
    - `apiOrganization` string
    - `applicationOrganization` string
  - `pagination` Pagination
    - `offset` integer
    - `limit` integer
    - `total` integer
    - `next` string — Link to the next subset of resources qualified. Empty if no more resources are to be returned.
    - `previous` string — Link to the previous subset of resources qualified. Empty if current subset is the first subset returned.

## Other responses

- `default` — Unexpected error

## Changes

- **2025-04-03** `eb07388f2892` — 2 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `default`
- **2024-01-29** `f2e9e07fd354` — 2 breaking
  - removed the media type `application/json` for the response with the status `200`
  - removed the media type `application/json` for the response with the status `default`

[Change history](https://skmtc.dev/wso2/apis/internal-utility-api/changes/subscriptions/get.md)

---

[API](https://skmtc.dev/wso2/apis/internal-utility-api.md) · [All operations](https://skmtc.dev/wso2/apis/internal-utility-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wso2/internal-utility-api/revisions/0be9aa8493bc/schema)
