---
title: "Get an account"
method: GET
path: "/accounts/{accountId}"
tags: ["Account"]
---

# Get an account

`GET /accounts/{accountId}`

Get an account with a given id. To use optionalFields check out [this guide](../../developer-docs/apis/automation-api-rest/tutorials/using-optional-fields-in-queries).

## Path parameters

- `accountId` integer, required

## Query parameters

- `optionalFields` string[]

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `423` — Locked
- `500` — Internal Server Error

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/versions/09f2abcea0b5/schema)
