Subscriptions

Get Subscription History

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
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)
  • Auth
    OAuth 2
    Password
    Token URL: token

Path parameters

tenant_idstring required

Query parameters

pageinteger

Page number

per_pageinteger

Items per page

Response

Successful Response

total_countinteger required
pageinteger
per_pageinteger

Example response

{
  "subscriptions": [
    {
      "created_at": "2025-12-20T08:00:00Z",
      "ending_at": "2026-06-30T23:59:59Z",
      "external_id": "ext-sub-001",
      "lago_id": "sub-lago-uuid-789",
      "plan_code": "claim_mind_basic",
      "plan_name": "ClaimMind Basic",
      "started_at": "2026-01-01T00:00:00Z",
      "status": "terminated",
      "terminated_at": "2026-03-15T10:00:00Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.