> ## Documentation Index
> Fetch the complete documentation index at: https://developers.mioesim.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /api_esim/getSkus — List all eSIM SKUs

> Retrieve the full catalog of available eSIM products (SKUs). Each SKU represents a country or regional coverage area you can order plans for.

Call this endpoint to get a flat list of every eSIM product available in your account. Use the returned `skuid` values to fetch available data plans via [Get Packages](/api-reference/get-packages).

```
GET https://bpm.mioesim.com/api_esim/getSkus
```

## Request parameters

<ParamField query="token" type="string" required>
  Session token from [Login](/api-reference/login).
</ParamField>

<ParamField query="sign" type="string" required>
  Request signature. See [Authentication](/authentication).
</ParamField>

## Response fields

<ResponseField name="code" type="string">
  `"0"` on success.
</ResponseField>

<ResponseField name="message" type="string">
  Result message.
</ResponseField>

<ResponseField name="data" type="array">
  Array of SKU objects.

  <Expandable title="SKU object fields">
    <ResponseField name="skuid" type="integer">
      Unique SKU identifier. Pass this to `/api_esim/getPackages`.
    </ResponseField>

    <ResponseField name="display" type="string">
      Human-readable product name (e.g. "Africa", "Asia 30", "Japan").
    </ResponseField>

    <ResponseField name="countryCode" type="string">
      Country or region code.
    </ResponseField>
  </Expandable>
</ResponseField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl "https://bpm.mioesim.com/api_esim/getSkus?token=YOUR_TOKEN&sign=YOUR_SIGN"
  ```

  ```json Success theme={null}
  {
    "code": "0",
    "message": "success",
    "data": [
      { "skuid": 156, "display": "Africa", "countryCode": "99918" },
      { "skuid": 124, "display": "Asia 30", "countryCode": "99115" },
      { "skuid": 123, "display": "Asia 4", "countryCode": "99112" }
    ]
  }
  ```

  ```json Error theme={null}
  { "code": -1, "message": "token expire", "data": "" }
  ```
</CodeGroup>
