---
title: "Get an account by ID"
description: "Returns an account's details."
canonical: "https://docs.printags.com/get-an-account-by-id/"
last_updated: "2026-11-16"
---

# Get an account by ID

`GET /v2/accounts/{accountId}`

Returns an account's details. An API key only reads the account that holds it (use `@me` or its own id).

## Authentication

An API key as a Bearer token: `Authorization: Bearer <key>`. A `sk_test_` key creates and sees test orders only. Keys and test mode: [overview](/).

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `accountId` | path | string | yes | Unique identifier of the account |

## Responses

| Status | Description |
| --- | --- |
| 200 | Successfully retrieved account details |
| 401 | Unauthorized, authentication required, or an OAuth access token unknown, expired or revoked (`INVALID_TOKEN`) |
| 403 | The API key is inactive or revoked (`INACTIVE_API_KEY`), or targets another account (`ACCOUNT_ACCESS_DENIED`, refused once the account guard is enforced); with an OAuth access token: a token of scope `mcp` (`INSUFFICIENT_SCOPE`), a path naming another account or a person no longer a member of it (`ACCOUNT_ACCESS_DENIED`), a real token on the sandbox host (`SANDBOX_REQUIRES_TEST_KEY`) |
| 404 | Account not found |
| 429 |  |
| 500 | Server error |

### 200 response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `success` | boolean | no |  |
| `account` | [Account](/schemas/account/) | no |  |

```json
{
  "success": true,
  "account": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "displayname": "John Doe",
    "email": "johndoe@example.com",
    "phone": "+1234567890",
    "balance": 100.5,
    "minimal_balance": 0,
    "minimal_credit": 0,
    "fiscal_number": "FR12345678901",
    "subscription_plan": {
      "id": "987e6543-e21a-11d4-a789-0242ac120002",
      "displayname": "Basic Plan",
      "price": 49.99,
      "shippingLetter": true,
      "whiteLabel": false
    },
    "options": {
      "lang": "EN",
      "payments": {
        "groupWithSubscription": false
      }
    },
    "createdAt": "2024-01-01T10:00:00.000Z",
    "updatedAt": "2024-11-01T12:00:00.000Z",
    "subscription_plan_source": "stripe"
  }
}
```

## Example

```bash
curl -X GET "https://api.printags.com/v2/accounts/123e4567-e89b-12d3-a456-426614174000" \
  -H "Authorization: Bearer $PRINTAGS_API_KEY"
```
