---
title: "GET /operations/billing/subscription"
method: GET
path: "/operations/billing/subscription"
tags: ["Operations/Billing/Subscription"]
---

# GET /operations/billing/subscription

`GET /operations/billing/subscription`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/operations/billing/subscription`
- Auth: none declared
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/operations/billing/subscription/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `legacy` 0 | 1, nullable
- `perPage` integer
- `cursor` string

## Response `200`

Successful

- object
  - `items` OperationsBillingSubscriptionSchema[], required
    - `id` integer, required
    - `plan` 'STARTUP' | 'BUSINESS' | 'PROFESSIONAL', required
    - `description` string, required
    - `features` string[], required
    - `featured` boolean, required
    - `stripePriceId` string, required
    - `amount` number, float, required
    - `annual` boolean, required
    - `trial` integer, nullable, required
    - `sales` boolean, required
    - `legacy` boolean, required
  - `perPage` integer, required
  - `previous` string, nullable, required
  - `next` string, nullable, required

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden
- `422`: Validation Error

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
