---
title: "GET /api/v1/billing/subscription"
method: GET
path: "/api/v1/billing/subscription"
tags: ["billing"]
---

# GET /api/v1/billing/subscription

`GET /api/v1/billing/subscription`

## Request

- Base URL: `https://api.clerkchat.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.clerkchat.co/api/v1/billing/subscription`
- Auth: none required

## Response `200`

BillingSubscriptionLifecycle

- BillingSubscriptionLifecycleEncoded
  - `plan` 'free' | 'hobby' | 'standard' | 'pro', required
  - `interval` 'day' | 'week' | 'month' | 'year', nullable, required
  - `lifecycle` 'free' | 'trialing' | 'active' | 'past_due' | 'paused' | 'canceling' | 'canceled', required
  - `renewalAt` union, required
    - number
    - 'Infinity' | '-Infinity' | 'NaN'
  - `trialEndsAt` union, required
    - number
    - 'Infinity' | '-Infinity' | 'NaN'
  - `endsAt` union, required
    - number
    - 'Infinity' | '-Infinity' | 'NaN'
  - `effectiveAt` union, required
    - number
    - 'Infinity' | '-Infinity' | 'NaN'
  - `scheduledDowngrade` ScheduledBillingSubscriptionDowngradeEncoded, required
    - `targetPlan` 'hobby' | 'standard' | 'pro', required
    - `effectiveAt` union, required
      - number
      - 'Infinity' | '-Infinity' | 'NaN'
  - `providerState` 'current' | 'pending' | 'stale', required

## Other responses

- `400`: BadRequest
- `401`: Unauthorized
- `403`: Forbidden
- `503`: PersistenceUnavailable

---

[API](https://skmtc.dev/clerkchat/apis/clerk-chat-api.md) · [All operations](https://skmtc.dev/clerkchat/apis/clerk-chat-api/llms.txt) · [OpenAPI document](https://skmtc.dev/clerkchat/apis/clerk-chat-api/revisions/cc318e39e1d0?raw)
