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

items
[]Plan

An array of plan objects.

pageCount
number

The total number of pages available.

limit
number

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
}