---
title: "The account behind the API key"
method: GET
path: "/api/agent/v1/me"
---

# The account behind the API key

`GET /api/agent/v1/me`

## Request

- Base URL: `https://essentras.com`
- URL: `https://essentras.com/api/agent/v1/me`
- Auth: HTTP bearer

Any valid key. Returns reseller status, the wallet balance (needs wallet:read, otherwise null) and this key's scopes and limits.

## Response `200`

The account

- object
  - `object` 'account'
  - `email` string
  - `name` string, nullable
  - `reseller` object
    - `active` boolean
    - `company` string, nullable
    - `default_discount_percent` number
    - `custom_prices` integer
    - `volume_tiers_apply` boolean
  - `wallet` object, nullable
    - `available` number
    - `reserved` number
    - `currency` string
    - `top_up_url` string
  - `api_key` object
    - `name` string, nullable
    - `key` string: Masked.
    - `scopes` string[]
    - `max_order_usd` number, nullable
    - `daily_limit_usd` number, nullable
    - `ip_restricted` boolean
    - `created_at` string, date-time, nullable
    - `expires_at` string, date-time, nullable
  - `purchases_enabled` boolean

## Other responses

- `401`: authentication_required, invalid_api_key, api_key_revoked or api_key_expired
- `403`: insufficient_scope (with required_scope) or ip_not_allowed
- `429`: rate_limited

---

[API](https://skmtc.dev/essentras/apis/essentras-agent-api.md) · [All operations](https://skmtc.dev/essentras/apis/essentras-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/essentras/apis/essentras-agent-api/revisions/17a4d739e1b1?raw)
