Skip to main content

GET /api/subscription/plans

Retrieves all available subscription plans with their pricing, limits, and features. Requires authentication to return plans.

Authentication

This endpoint requires authentication. Include your access token in the request cookies.

Query Parameters

string
default:"monthly"
Billing period for pricing. Options: monthly, annual

Response

AvailablePlan[]
required
Array of available plan objects
string
required
Billing period used for the response. Options: monthly, annual

Example Request

Example Response

Error Responses

error
Authentication required or token expired
error
Invalid billing parameter
error
Server error occurred
Annual billing typically includes a discount compared to monthly billing. The originalPrice field shows the equivalent monthly cost over a year.