Skip to content

Subscription Plans

GET
/api/modules/plans

Get all available subscription plans with included modules and pricing.

Authorizations

ApiKeyAuth

API key for authentication. Get your API key from the dashboard.

TypeAPI Key (header: X-Api-Key)

Responses

List all subscription plans

application/json
JSON
{
"data": [
{
"id": "string",
"name": "string",
"description": "string",
"modules": [
"string"
],
"discountPercentage": 0,
"priceCents": 0,
"stripePriceId": "string"
}
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

AstroAPI Documentation