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

# Account

> Read your team, phone lines, members, and connected point-of-sale systems.

## Get the account

```
GET /account
```

Returns the team the API key reads, its phone lines and members, and today's date in the team's timezone. Call it first to check that your key works and points at the team you expect. Use the phone line `id` values to filter [reports](/api/reports) by location.

This endpoint takes no inputs. [Try it in the playground](/api-reference/account/get-account).

<CodeGroup>
  ```bash cURL theme={null}
  curl https://answeringagent.com/api/v1/account \
    -H "X-API-KEY: $ANSWERING_AGENT_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const res = await fetch('https://answeringagent.com/api/v1/account', {
    headers: { 'X-API-KEY': process.env.ANSWERING_AGENT_API_KEY },
  });
  if (!res.ok) throw new Error(`${res.status}: ${await res.text()}`);
  const account = await res.json();
  console.log(account.team.name, account.you.role);
  ```
</CodeGroup>

```json theme={null}
{
  "team": {
    "id": 410,
    "name": "Westside Wash Co.",
    "timezone": "America/Chicago",
    "today": "2026-10-06"
  },
  "you": { "id": 9021, "name": "Sam Ortiz", "role": "admin" },
  "phone_lines": [
    { "id": 2181, "name": "Westside Wash", "phone_number": "+15125550142" },
    { "id": 2182, "name": "Lamar Blvd", "phone_number": "+15125550177" }
  ],
  "members": [
    { "id": 9040, "name": "Jordan Lee", "role": "user" },
    { "id": 9034, "name": "Priya Shah", "role": "manager" },
    { "id": 9021, "name": "Sam Ortiz", "role": "admin" }
  ],
  "point_of_sale_systems": ["Sonny's"],
  "features": { "web_chat": true, "email": false, "knowledge_base": true },
  "open_task_count": 37,
  "dashboard": {
    "billing": "https://answeringagent.com/dashboard/team/410/billing",
    "conversations": "https://answeringagent.com/dashboard/conversations",
    "outbound_call": "https://answeringagent.com/dashboard/outbound-call",
    "reports": "https://answeringagent.com/dashboard/reports",
    "settings": "https://answeringagent.com/dashboard/team/410/settings/ai",
    "tasks": "https://answeringagent.com/dashboard/tasks"
  }
}
```

## Fields

<ResponseField name="team" type="object">
  The team's `id`, `name`, IANA `timezone`, and `today` as `YYYY-MM-DD` in that timezone. Report ranges such as `today` and `mtd` use this timezone.
</ResponseField>

<ResponseField name="you" type="object">
  The person who created the API key: their `id`, `name`, and `role` on the team (`owner`, `admin`, or `manager`).
</ResponseField>

<ResponseField name="phone_lines" type="object[]">
  Each phone line the key's owner can see, with its `id`, `name`, and `phone_number`. `name` and `phone_number` can be `null`. Report `filters.phone_line_id` takes the `id`.
</ResponseField>

<ResponseField name="members" type="object[]">
  Up to 50 team members, sorted by name, each with `id`, `name`, and `role`. The `id` is the same one a task's `assignee.id` has, and it is what `assigned_to` and report `filters.team_member_ids` take. A team owner shows their team role, or `owner` when they have none. `role` is `null` for someone who only has access to a phone line.
</ResponseField>

<ResponseField name="point_of_sale_systems" type="string[]">
  Names of the active point-of-sale integrations the AI uses on calls.
</ResponseField>

<ResponseField name="features" type="object">
  Whether website chat (`web_chat`), `email`, and the `knowledge_base` are on.
</ResponseField>

<ResponseField name="open_task_count" type="integer">
  Tasks that are not done.
</ResponseField>

<ResponseField name="dashboard" type="object">
  Links to the main dashboard pages.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.