> For the complete documentation index, see [llms.txt](https://en-api.decisiontele.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://en-api.decisiontele.com/esim-api/packages/list-packages.md).

# List Packages

Synchronize the package catalog available to your client account.

### Request

```http
GET /api/v1/packages?page=1&perPage=100
Authorization: Bearer <TOKEN>
Accept: application/json
```

| Query parameter | Description                                                |
| --------------- | ---------------------------------------------------------- |
| `page`          | Page number; start at 1.                                   |
| `perPage`       | Number of items requested per page; this example uses 100. |

Iterate through all pages using the pagination metadata returned by the API.

### Response

Simplified package item. The price shown is an illustrative client-specific price.

```json
{
  "id": "a0966054-2e2f-4e7f-aead-99817f365d1d",
  "code": "9153",
  "name": "Global 3GB 7 days",
  "price": 8.50,
  "dataLimit": 3,
  "limit": 7,
  "limitType": "day",
  "status": "live",
  "active": true
}
```

| Field                 | Description                                                                                                                   |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `id`                  | Package identifier used as `packageId`.                                                                                       |
| `code`                | Package catalog code.                                                                                                         |
| `name`                | Display name.                                                                                                                 |
| `price`               | Price specific to your client account.                                                                                        |
| `dataLimit`           | Total data allowance; 3 GB in this example.                                                                                   |
| `limit` / `limitType` | Package duration; 7 days in this example.                                                                                     |
| `status` / `active`   | Catalog status and availability flag.                                                                                         |
| `start` / `end`       | Product availability period in the catalog, when returned. These are not the validity dates of a package assigned to an eSIM. |

For assignment validity, use `usageStartAt` and `usageExpireAt`.
