---
title: "Get subscription status for an app"
method: GET
path: "/subscriptions/status/{appId}"
tags: ["Subscriptions"]
---

# Get subscription status for an app

`GET /subscriptions/status/{appId}`

## Request

- Base URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api`
- URL: `https://us-central1-paymentgateway-ab783.cloudfunctions.net/api/subscriptions/status/{appId}`
- Auth: HTTP bearer

Check whether the authenticated user has an active subscription for the specified application.

## Path parameters

- `appId` string, required

## Response `200`

Subscription status retrieved

- object
  - `success` boolean
  - `subscription` Subscription
    - `id` string: Subscription ID
    - `appId` string: Application identifier
    - `planId` 'free' | 'starter' | 'professional' | 'business' | 'enterprise'
    - `status` 'active' | 'canceled' | 'past_due' | 'trialing'
    - `currentPeriodEnd` string, date-time
    - `cancelAtPeriodEnd` boolean
  - `status` string

## Other responses

- `401`: Missing or invalid authentication token
- `500`: Failed to retrieve subscription status

---

[API](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api.md) · [All operations](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futuresenseai/apis/futuresense-ai-central-hub-api/revisions/53e075911af9?raw)
