# Get me

> Who this key is and what it can do

`GET https://api.signalvan.com/v1/me`

**Step 1 of 9 in the lead generation flow: Check the key.**

Needs `leads:read` · Uses no credits · 300 a minute · Web page: https://www.signalvan.com/developers/reference/get-me

The account, the key's prefix and permissions, the websites it can open and the credit
balance, in one call. Call it first.

When `website_needed` is true the key opens several websites and has no default: send `website_id` (an `id` from
`websites`) on every website route.

**Credits:** none. The key appears by its prefix only.

## Headers

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Authorization` | `string` | Yes | Bearer and your API key. Keys are made in SignalVan: Account, API keys. Example: `Bearer sv_live_...`. |

## Response · 200 (application/json)

- `account_id` (string, required): The account the key belongs to
- `key` (KeyInfo, required): The key's prefix and permissions
  - `prefix` (string | null, required): The first 12 characters of the key, as the key list in the app shows them (null for a connected app)
  - `scopes` (string[], required): What the key may do: leads:read (read), leads:write (plan and start lead searches), knowledge:write (edit knowledge)
  - `app` (string): Connected apps only (the MCP service): the app's name, as Account > Connected apps shows it
- `websites` (Website[], required): The websites the key can open now
  - `id` (string, required): The website id: pass it as website_id (or the X-Website-Id header)
  - `domain` (string, required): The business website's domain
  - `name` (string | null, required): The business's name in SignalVan (null when it has none)
  - `default` (boolean, required): true for the key's default website, used when no website_id is sent
  - `added_at` (string | null): When the website was added to SignalVan
  - `lead_generation` (LeadGeneration | null): What SignalVan has found for it so far
- `website_needed` (boolean, required): true when the key opens several websites and has no default: send website_id on every website route
- `credits` (Credits, required): The credit balance
  - `available` (integer): Credits a new lead search can use now: the balance less the credits held by work still running
  - `balance` (integer): Credits on the account
  - `held` (integer): Credits set aside for work still running
  - `low` (boolean): true when fewer than 100 credits are available

## Responses

- `200`: The key, its websites and the credit balance
- `400` `invalid`: A field is not valid (the detail names it)
- `401` `unauthorized`: No API key, or the key is not valid
- `403` `scope_missing`: The key lacks the permission (scope_missing)
- `404` `not_found`: Not found, or not yours
- `429` `rate_limited`: Too many requests: wait Retry-After seconds
- `503` `unavailable`: Temporarily unavailable: retry with backoff

## Request

Every request below is complete and runs as copied (set SIGNALVAN_API_KEY first). website_id is needed when your key opens several websites; it takes the website's id or its domain.

### Request

cURL:

```bash
curl "https://api.signalvan.com/v1/me" \
  -H "Authorization: Bearer $SIGNALVAN_API_KEY"
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.signalvan.com/v1/me",
    headers={"Authorization": f"Bearer {os.environ['SIGNALVAN_API_KEY']}"},
    timeout=70,
)
r.raise_for_status()
print(r.json())
```

Node.js:

```javascript
const r = await fetch("https://api.signalvan.com/v1/me", {
  headers: {
    Authorization: `Bearer ${process.env.SIGNALVAN_API_KEY}`,
  },
})
if (!r.ok) throw new Error((await r.json()).detail)
console.log(await r.json())
```

## Response example · 200

```json
{
  "account_id": "5b0c8f3e-2d4a-4c11-9a57-3f1e8d2c6b90",
  "key": {
    "prefix": "sv_live_7Hq2",
    "scopes": [
      "leads:read",
      "leads:write"
    ]
  },
  "websites": [
    {
      "id": "6f1c2b9e-4d3a-4b8e-9c21-7a5e0d3f8b14",
      "domain": "leedsdentallab.co.uk",
      "name": "Leeds Dental Lab",
      "default": true,
      "added_at": "2026-10-02T09:14:00Z",
      "lead_generation": {
        "lead_searches": 6,
        "leads": 214,
        "people": 388,
        "last_lead_search_at": "2026-11-19T16:40:12Z"
      }
    }
  ],
  "website_needed": false,
  "credits": {
    "available": 2350,
    "balance": 2500,
    "held": 150,
    "low": false
  }
}
```
