---
title: "GET /subscriptions/{id}"
method: GET
path: "/subscriptions/{id}"
tags: ["SubscriptionController"]
---

# GET /subscriptions/{id}

`GET /subscriptions/{id}`

| Permissions |
| ------- |
| 7004   |

## Path parameters

- `id` string, required

## Response `200`

Subscription model instance

- SubscriptionWithRelations — (tsType: SubscriptionWithRelations, schemaOptions: { includeRelations: true })
  - `deleted` boolean
  - `deletedOn` string, date-time, nullable
  - `deletedBy` string, nullable
  - `createdOn` string, date-time
  - `modifiedOn` string, date-time
  - `createdBy` string
  - `modifiedBy` string
  - `id` string
  - `subscriberId` string, required
  - `startDate` string, required
  - `endDate` string, required
  - `status` 0 | 1 | 2 | 3 | 4, required — status of the subscription, it can be - 0(pending), 1(active), 2(inactive), 3(cancelled) and 4(expired)
  - `planId` string — plan id of the subscription
  - `invoiceId` string — invoice id of the subscription
  - `plan` Plan
    - `deleted` boolean
    - `deletedOn` string, date-time, nullable
    - `deletedBy` string, nullable
    - `createdOn` string, date-time
    - `modifiedOn` string, date-time
    - `createdBy` string
    - `modifiedBy` string
    - `id` string
    - `name` string, required — name of the plan
    - `description` string — description of the plan
    - `tier` string, required — Tier of the plan.
    - `size` string — Size of the plan.
    - `price` number, required
    - `metaData` object — Meta data of the plan
    - `billingCycleId` string
    - `currencyId` string
  - `foreignKey` unknown
  - `invoice` Invoice — invoice for a customer
    - `deleted` boolean
    - `deletedOn` string, date-time, nullable
    - `deletedBy` string, nullable
    - `createdOn` string, date-time
    - `modifiedOn` string, date-time
    - `createdBy` string
    - `modifiedBy` string
    - `id` string
    - `invoiceId` string, required
    - `invoiceStatus` string — payment or invoice status
    - `billingCustomerId` string, required

---

[API](https://skmtc.dev/sourcefuse/apis/subscription-service.md) · [All operations](https://skmtc.dev/sourcefuse/apis/subscription-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sourcefuse/subscription-service/revisions/8be17bf3acc3/schema)
