---
title: "Fetch smallcase subscriptions"
method: GET
path: "/{gatewayname}/engine/subscriptions"
---

# Fetch smallcase subscriptions

`GET /{gatewayname}/engine/subscriptions`

## Request

- Base URL: `https://gatewayapi.smallcase.com/v1`
- URL: `https://gatewayapi.smallcase.com/v1/{gatewayname}/engine/subscriptions`
- Auth: none required

The API provides details about all the smallcases a user has subscribed to from the partner platform along with payment details. The API provides subscription details like status, publisher, pending amount, start date, end date, plan type, duration etc.

**<<apiUseCaseTerm>>**:  This API is ideal when you want to display the smallcase subscription details to the user.

## Path parameters

- `gatewayname` string, required

## Headers

- `x-gateway-secret` string, required
- `x-gateway-authtoken` string, required

## Response `200`

200

- object
  - `success` boolean
  - `errors` unknown
  - `data` object
    - `subscriptions` object[]
      - `status` string
      - `publisher` string
      - `publisherName` string
      - `isCancellable` boolean
      - `pendingAmount` integer
      - `pricingType` string
      - `scids` object[]
        - `scid` string
        - `smallcaseName` string
      - `date` string
      - `endDate` string
      - `cancellation` object
        - `value` boolean
      - `isRenewable` boolean
      - `amount` integer
      - `planRenewal` string
      - `planType` string
      - `duration` string

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/smallcase/apis/smallcase-data-v1.md) - [All operations](https://skmtc.dev/smallcase/apis/smallcase-data-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/smallcase/apis/smallcase-data-v1/revisions/9e1b64a1d830?raw)
