---
title: "Subscription status of the account (read-only; changing or cancelling the plan is not available via this API)"
method: GET
path: "/api/v1/subscription"
---

# Subscription status of the account (read-only; changing or cancelling the plan is not available via this API)

`GET /api/v1/subscription`

## Request

- Base URL: `https://smartwebchat.eu`
- URL: `https://smartwebchat.eu/api/v1/subscription`
- Auth: HTTP bearer

## Response `200`

OK

- object
  - `data` Subscription
    - `plan` string
    - `status` 'trialing' | 'active' | 'cancelled' | 'deleted'
    - `activeUntil` string, date-time, nullable
    - `trialEndsAt` string, date-time, nullable: Only while trialing
    - `purchasedSeats` integer
    - `purchasedAssistants` integer
    - `sponsored` boolean
  - `error` unknown

## Other responses

- `401`: Missing or invalid API key
- `403`: Delegated access token without billing:read
- `404`: Account not found
- `429`: Rate limit exceeded: 600 requests per minute per account across all /api/v1/ routes. Wait for the seconds given in Retry-After (60) and retry.

---

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