Customers
Events & Usage Metering
Invoices
Subscriptions
Plans
List Plans
GET
/
plans
/
Copy
Ask AI
curl --request GET \
--url https://api.alguna.io/plans/ \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"items": [
{
"id": "pln_02y7zjb1GksJMrB3NfrPhA",
"name": "Plan 1",
"description": "asd",
"currency": "USD",
"createdAt": "2024-11-01T14:38:36Z",
"updatedAt": "2024-11-01T14:38:36Z"
}
],
"pageCount": 1,
"limit": 250
}
Response
An array of plan objects.
The unique identifier for the plan.
The name of the plan.
A brief description of the plan.
The currency in which the plan is billed.
The timestamp when the plan was created.
The timestamp when the plan was last updated.
The total number of pages available.
The maximum number of plans returned per page.
Copy
Ask AI
{
"items": [
{
"id": "pln_02y7zjb1GksJMrB3NfrPhA",
"name": "Plan 1",
"description": "asd",
"currency": "USD",
"createdAt": "2024-11-01T14:38:36Z",
"updatedAt": "2024-11-01T14:38:36Z"
}
],
"pageCount": 1,
"limit": 250
}
Copy
Ask AI
curl --request GET \
--url https://api.alguna.io/plans/ \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"items": [
{
"id": "pln_02y7zjb1GksJMrB3NfrPhA",
"name": "Plan 1",
"description": "asd",
"currency": "USD",
"createdAt": "2024-11-01T14:38:36Z",
"updatedAt": "2024-11-01T14:38:36Z"
}
],
"pageCount": 1,
"limit": 250
}
Assistant
Responses are generated using AI and may contain mistakes.