Plans
List Plans
Plans
List Plans
GET
/
plans
curl --request GET \
--url https://api.alguna.io/plans/ \
--header 'Authorization: Bearer <token>'
{
"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.
{
"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
}
curl --request GET \
--url https://api.alguna.io/plans/ \
--header 'Authorization: Bearer <token>'
{
"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
}