# List Plans

<Warning>
**List items are a summary, not the full plan**

`metadata` and `phases` are only returned by [Retrieve Plan](/reference/plans/retrieve-plan), not by this list endpoint. If you need either one for every plan in a grid, call Retrieve Plan per item.
</Warning>

**GET** `/subscriptions/plans`

Base URL: `https://api-sandbox.whitelabel.com/v1`

Returns a paginated, grid-ready list of plans for the authenticated account. offset-based (`offset=0` is the first page) pagination.

## Authorization

- public-api-key (apiKey in header)
- private-secret-key (apiKey in header)

## Header parameters

- `X-Account-Code` (string)
  The `account_id` found in your [WHITELABEL Dashboard](https://dashboard.whitelabel.com/developers) (UUID). Required unless `account_id` is supplied as a query parameter — with neither, the call returns `400 BAD_REQUEST` ("Invalid x-account-code header.").

## Query parameters

- `account_id` (string)
  Scope the list to one account. An alternative to the `X-Account-Code` header; one of the two must be present.
- `limit` (integer)
  Maximum number of plans to return. Defaults to 20.
- `offset` (integer)
  Number of plans to skip. Defaults to 0.

## Responses

### 200

200

- `data` (object[])
  - `id` (string)
  - `account_id` (string)
  - `name` (string)
  - `merchant_reference` (string)
  - `status` (string)
  - `base_amount` (object)
    - `currency` (string)
    - `value` (number)
  - `frequency` (object)
    - `type` (string)
    - `value` (integer)
  - `subscribers_count` (integer)
  - `countries` (string[])
  - `created_at` (string)
- `pagination` (object)
  - `total` (integer)
    Total number of plans on the account.
  - `limit` (integer)
    The limit applied to this page.
  - `offset` (integer)
    The offset applied to this page.
  - `has_more` (boolean)
    Whether more plans follow this page.

Example:

```json
{
  "data": [
    {
      "id": "string",
      "account_id": "string",
      "name": "string",
      "merchant_reference": "string",
      "status": "string",
      "base_amount": {
        "currency": "string",
        "value": 0
      },
      "frequency": {
        "type": "string",
        "value": 0
      },
      "subscribers_count": 0,
      "countries": [
        "string"
      ],
      "created_at": "string"
    }
  ],
  "pagination": {
    "total": 0,
    "limit": 0,
    "offset": 0,
    "has_more": true
  }
}
```

### 400

400

- `code` (string)
- `messages` (string[])

Example:

```json
{
  "code": "INVALID_PARAMETERS",
  "messages": [
    "string"
  ]
}
```