---
title: "The account this credential can use"
method: GET
path: "/accounts"
tags: ["Account"]
---

# The account this credential can use

`GET /accounts`

## Request

- Base URL: `https://adslighthouse.com/api/v1`
- URL: `https://adslighthouse.com/api/v1/accounts`
- Auth: HTTP bearer

Lists the accounts this credential can use. An API key or a connected app is bound to one account, so the list has exactly that account, even when the person belongs to other accounts; each other account needs its own key or connection.

## Response `200`

The account this credential can use

- object
  - `data` object[], required
    - `account_id` string, required
    - `label` string, required: The account's name in the app: its owner's email address.
    - `your_role` 'owner' | 'admin' | 'member', required
    - `current` boolean, required: True for the account this credential is bound to.
  - `request_id` string

## Other responses

- `400`: Invalid parameters, cursor or body.
- `401`: Missing, invalid, expired or revoked credential.
- `403`: The credential lacks the write scope, the plan does not include the API, or the allowance is used up.
- `404`: Unknown project, keyword or run in this account.
- `409`: The idempotency key was already used for a different request.
- `429`: Rate limit reached. Retry after the Retry-After seconds.
- `503`: The requested service or file is temporarily unavailable.

---

[API](https://skmtc.dev/adslighthouse/apis/ads-lighthouse-api.md) · [All operations](https://skmtc.dev/adslighthouse/apis/ads-lighthouse-api/llms.txt) · [OpenAPI document](https://skmtc.dev/adslighthouse/apis/ads-lighthouse-api/revisions/e1a4a40b11a9?raw)
