> For the complete documentation index, see [llms.txt](https://docs.elevateab.com/elevate-helpcenter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elevateab.com/elevate-helpcenter/developer-reference/external-api/api-reference/me.md).

# Get Store and API Key Info (Me)

The Elevate A/B Testing External API /me endpoint returns the store, plan, currency, and access for a key, so you can quickly check that a key works.

```http
GET /me
```

Returns the store the key reads, its Elevate A/B Testing plan, its currency, and whether the key can only read or can also write. It takes no parameters and is the quickest way to check that a key works.

## Response

| Field      | Type             | What it holds                                                                                                                                    |
| ---------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `storeId`  | `string`         | The store's `myshopify.com` domain                                                                                                               |
| `plan`     | `string \| null` | The store's Elevate A/B Testing plan, `null` while no plan is active                                                                             |
| `currency` | `string \| null` | The currency every money value in the API is reported in                                                                                         |
| `access`   | `string`         | `read` for an API key, `write` for a [write key](https://docs.elevateab.com/elevate-helpcenter/developer-reference/external-api/write-access.md) |

```bash
curl https://api.elevateab.app/v1/me \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```json
{
  "success": true,
  "data": {
    "storeId": "your-store.myshopify.com",
    "plan": "Standard",
    "currency": "USD",
    "access": "read"
  }
}
```

## Limits and gotchas for `/me`

{% hint style="warning" %}
**A `401` here means the key itself is wrong.** Check it is the External API key, and that the header reads `Authorization: Bearer` followed by the key.
{% endhint %}

{% hint style="info" %}
**Use it in a health check** before a batch of heavier calls: it is the cheapest request in the API.
{% endhint %}
