> For the complete documentation index, see [llms.txt](https://docs.sparkloop.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sparkloop.app/api-v3/endpoints/account.md).

# Account

## Account

Your **account** is the team that owns the API key — a single endpoint returning the team's name, ESP, and owner. There's nothing to look up: the account is always the team the key authenticates as.

### Get account

<mark style="color:blue;">`GET`</mark> `https://api.sparkloop.app/v3/account`

**Query Parameters**

| Name   | Type   | Description                                                   |
| ------ | ------ | ------------------------------------------------------------- |
| expand | String | Comma-separated objects to inline. Supported: `team_members`. |

{% tabs %}
{% tab title="200: OK" %}

```json
{
  "account": <Account Object>
}
```

{% endtab %}

{% tab title="401: Unauthorized" %}

```json
{
  "error": "API key is invalid!"
}
```

{% endtab %}
{% endtabs %}

#### Example: expand the team's members

```bash
curl "https://api.sparkloop.app/v3/account?expand=team_members" \
  -H "x-api-key: YOUR_API_KEY"
```
