---
title: "Get Accounts"
description: "How to call Get Accounts (GET /api/accounts) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-01-15/reference/get_accounts"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_accounts"
operationId: "get_accounts"
method: "GET"
endpoint: "https://a.klaviyo.com/api/accounts"
authentication: "privateKey"
scopes: ["accounts:read"]
rateLimits: {"burst":"1/s","steady":"15/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
jsonApi: {"fields":{"account":["test_account","contact_information","contact_information.default_sender_name","contact_information.default_sender_email","contact_information.website_url","contact_information.organization_name","contact_information.street_address","contact_information.street_address.address1","contact_information.street_address.address2","contact_information.street_address.city","contact_information.street_address.region","contact_information.street_address.country","contact_information.street_address.zip","industry","timezone","preferred_currency","public_api_key","locale"]}}
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/accounts/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/get_account.md"]
---

# Get Accounts

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/get_accounts

```http
GET https://a.klaviyo.com/api/accounts
```

Retrieve the account(s) associated with a given private API key. This will return 1 account object within the array.

You can use this to retrieve account-specific data (contact information, timezone, currency, Public API key, etc.) or test if a Private API Key belongs to the correct account prior to performing subsequent actions with the API.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `accounts:read`
- Rate limits: Burst: `1/s`, Steady: `15/m`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/accounts' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15'
```

## Query parameters

- `fields[account]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `test_account`, `contact_information`, `contact_information.default_sender_name`, `contact_information.default_sender_email`, `contact_information.website_url`, `contact_information.organization_name`, `contact_information.street_address`, `contact_information.street_address.address1`, `contact_information.street_address.address2`, `contact_information.street_address.city`, `contact_information.street_address.region`, `contact_information.street_address.country`, `contact_information.street_address.zip`, `industry`, `timezone`, `preferred_currency`, `public_api_key`, `locale`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-01-15`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object[], required)
  - `type` (string, required): Allowed values: `account`
  - `id` (string, required)
  - `attributes` (object, required)
    - `test_account` (boolean, required): Indicates if the account is a test account. Test accounts are not a separate testing engineering environment. Test accounts use the same production environment as normal Klaviyo accounts. This feature is primarily UI based to reduce human errors
    - `contact_information` (object, required)
      - `default_sender_name` (string, required): This field is used to auto-populate the default sender name on flow and campaign emails. Example: `Klaviyo Demo`
      - `default_sender_email` (string, required): This field is used to auto-populate the default sender email address on flow and campaign emails. Example: `contact@klaviyo-demo.com`
      - `website_url` (string, nullable): Example: `https://www.klaviyo.com`
      - `organization_name` (string, required): Example: `Klaviyo Demo`
      - `street_address` (object, required): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `industry` (string, nullable): The kind of business and/or types of goods that the business sells. This is leveraged in Klaviyo analytics and guidance. Example: `Software / SaaS`
    - `timezone` (string, required): The account's timezone is used when displaying dates and times. This is an IANA timezone. See [the full list here ](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Example: `US/Eastern`
    - `preferred_currency` (string, required): The preferred currency for the account. This is the currency used for currency-based metrics in dashboards, analytics, coupons, and templates. Example: `USD`
    - `public_api_key` (string, required): The Public API Key can be used for client-side API calls. [More info here](https://developers.klaviyo.com/en/docs/retrieve_api_credentials). Example: `AbC123`
    - `locale` (string, required): The account's locale is used to determine the region and language for the account. Example: `en-US`
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (object)
  - `self` (string<uri>, required)
  - `first` (string<uri>)
  - `last` (string<uri>)
  - `prev` (string<uri>)
  - `next` (string<uri>)

#### Example response body

```json
{
  "data": [
    {
      "type": "account",
      "id": "string",
      "attributes": {
        "test_account": true,
        "contact_information": {
          "default_sender_name": "Klaviyo Demo",
          "default_sender_email": "contact@klaviyo-demo.com",
          "website_url": "https://www.klaviyo.com",
          "organization_name": "Klaviyo Demo",
          "street_address": {
            "address1": "125 Summer Street",
            "address2": "5th Floor",
            "city": "Boston",
            "region": "MA",
            "country": "US",
            "zip": "04323"
          }
        },
        "industry": "Software / SaaS",
        "timezone": "US/Eastern",
        "preferred_currency": "USD",
        "public_api_key": "AbC123",
        "locale": "en-US"
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com",
    "first": "https://www.example.com",
    "last": "https://www.example.com",
    "prev": "https://www.example.com",
    "next": "https://www.example.com"
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
