---
title: "Shows an subscriptions"
method: GET
path: "/api/v1/subscriptions/{id}"
tags: ["subscriptions"]
---

# Shows an subscriptions

`GET /api/v1/subscriptions/{id}`

## Request

- Base URL: `https://demo.invoiceninja.com`
- URL: `https://demo.invoiceninja.com/api/v1/subscriptions/{id}`
- Auth: none declared. Required headers: `X-API-TOKEN`, `X-Requested-With`
- TypeScript: <https://skmtc.dev/invoiceninja/apis/invoice-ninja-api-reference/docs/api/v1/subscriptions/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Displays an subscriptions by id

## Path parameters

- `id` string, string, required

## Query parameters

- `include` string

## Headers

- `X-API-TOKEN` string, required
- `X-Requested-With` string, required

## Response `200`

Returns the Subscription object

- Subscription
  - `id` string: Unique identifier for the subscription
  - `user_id` string: Unique identifier for the user associated with the subscription
  - `product_id` string: Unique identifier for the product associated with the subscription
  - `recurring_invoice_id` string: Unique identifier for the recurring invoice associated with the subscription
  - `is_recurring` boolean: Indicates whether the subscription is recurring
  - `frequency_id` string: integer const representation of the frequency
  - `auto_bill` string: enum setting
  - `promo_code` string: Promotional code applied to the subscription
  - `promo_discount` number: Discount percentage or amount applied to the subscription
  - `is_amount_discount` boolean: Indicates whether the discount is a fixed amount
  - `allow_cancellation` boolean: Indicates whether the subscription can be cancelled
  - `per_seat_enabled` boolean: Indicates whether the subscription pricing is per seat
  - `currency_id` integer: Unique identifier for the currency used in the subscription
  - `max_seats_limit` integer: Maximum number of seats allowed for the subscription
  - `trial_enabled` boolean: Indicates whether the subscription has a trial period
  - `trial_duration` integer: Duration of the trial period in days
  - `allow_query_overrides` boolean: Indicates whether query overrides are allowed for the subscription
  - `allow_plan_changes` boolean: Indicates whether plan changes are allowed for the subscription
  - `refund_period` integer: Number of days within which refunds can be requested
  - `webhook_configuration` string: Webhook configuration for the subscription
  - `is_deleted` boolean: Indicates whether the subscription has been deleted
  - `archived_at` number: Timestamp
  - `created_at` number: Timestamp
  - `updated_at` number: Timestamp

## Other responses

- `401`: Authentication error
- `403`: Authorization error
- `422`: Validation error
- `default`: Unexpected Error

## Changes

- **2026-04-20** `69a36036d334`: 1 info
  - the response optional property `id` became read-only for the status `200`
- **2024-06-06** `8e82a2bd77e0`: 1 breaking, 2 info
  - the response's body type changed from no type to `object` for status `default`
  - added the optional property `code` to the response with the `default` status
  - added the optional property `message` to the response with the `default` status
- **2024-06-05** `e61df65649e2`: 1 breaking, 2 warning
  - the response's body type changed from `object` to no type for status `default`
  - removed the optional property `code` from the response with the `default` status
  - removed the optional property `message` from the response with the `default` status
- **2024-03-07** `71171a40d629`: 5 breaking, 31 info
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `422`
  - …32 more
- **2024-02-18** `88bbc1f38ff7`: 5 breaking, 32 warning
  - the response's body type changed from `object` to no type for status `200`
  - the response's body type changed from `object` to no type for status `401`
  - the response's body type changed from `object` to no type for status `403`
  - the response's body type changed from `object` to no type for status `422`
  - …33 more

[Operation history](https://skmtc.dev/invoiceninja/apis/invoice-ninja-api-reference/changes/api/v1/subscriptions/:id/get.md)

---

[API](https://skmtc.dev/invoiceninja/apis/invoice-ninja-api-reference.md) - [All operations](https://skmtc.dev/invoiceninja/apis/invoice-ninja-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/invoiceninja/apis/invoice-ninja-api-reference/revisions/bcda1f823746?raw)
