Skip to main content
GET
/
api
/
v1
/
subscriptions
/
website
Get Website Subscription
curl --request GET \
  --url https://api.athenahq.ai/api/v1/subscriptions/website \
  --header 'x-api-key: <api-key>'
{
  "products": [
    {
      "id": "pro_monthly",
      "name": "Pro Plan",
      "status": "active",
      "canceled_at": null,
      "cancel_at": null,
      "started_at": 1704067200,
      "ended_at": null
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Query Parameters

website_id
string<uuid>
required

The ID of the website to retrieve subscription information for

Response

Successful response with subscription products

products
object[]
required