---
title: "Get Subscription History"
method: GET
path: "/admin/tenants/{tenant_id}/subscription/history"
tags: ["Subscriptions"]
---

# Get Subscription History

`GET /admin/tenants/{tenant_id}/subscription/history`

## Request

- Base URL: `https://developer.claimmind.life` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.claimmind.life/admin/tenants/{tenant_id}/subscription/history`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Get subscription history for a tenant.

Returns all subscriptions (active, pending, cancelled, terminated)
sorted by creation date descending with pagination.

**Access:**
- mtk_admin: can view any tenant
- super_admin: can view tenants in their hospital group
- org_admin: can view only their own tenant

## Path parameters

- `tenant_id` string, required

## Query parameters

- `page` integer: Page number
- `per_page` integer: Items per page

## Response `200`

Successful Response

- SubscriptionHistoryResponse: Response for subscription history.
  - `subscriptions` SubscriptionHistoryItem[], required
    - `lago_id` string, required
    - `external_id` string, required
    - `plan_code` string, required
    - `plan_name` string, required
    - `status` string, required
    - `started_at` string, date-time, nullable
    - `ending_at` string, date-time, nullable
    - `canceled_at` string, date-time, nullable
    - `terminated_at` string, date-time, nullable
    - `created_at` string, date-time, required
  - `total_count` integer, required
  - `page` integer
  - `per_page` integer

## Other responses

- `422`: Validation Error

---

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