Skip to main content
GET
/
get-active-subscription
Active Subscription
curl --request GET \
  --url https://app.closerx.ai/api/get-active-subscription/ \
  --header 'api_key: <api-key>'
{
  "success": true,
  "errors": [],
  "response": {
    "has_subscription": true,
    "active_subscription": {
      "plan": null,
      "status": "active",
      "next_billing": "2025-09-14T18:45:46Z",
      "amount": 997,
      "features": "",
      "price_id": "NhFBDI6",
      "payment_gateway": "stripe"
    },
    "prices": [
      {
        "price_id": "HgHjFwt",
        "amount": 297,
        "currency": "usd",
        "product_name": "xyz.com (AI Calling Plan) 7-Day Free Trial",
        "description": null,
        "interval": "month"
      }
    ]
  }
}

Authorizations

api_key
string
header
required

Response

Subscription information retrieved successfully

success
boolean

Indicates whether the request was successful.

Example:

true

errors
string[]

List of errors if any occurred.

Example:
[]
response
object