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

# Get Account

> Retrieve details for a specific account

## Path Parameters

<ParamField path="accountId" type="string" required>
  The unique account identifier.
</ParamField>

## Response

<ResponseField name="accountId" type="string">
  Unique identifier for the account.
</ResponseField>

<ResponseField name="phoneId" type="string">
  ID of the phone this account belongs to.
</ResponseField>

<ResponseField name="platform" type="string">
  Platform: `tiktok` or `instagram`.
</ResponseField>

<ResponseField name="name" type="string">
  Display name of the account.
</ResponseField>

<ResponseField name="username" type="string">
  Account username. For TikTok accounts, this is set on Day 5 of warmup and may be empty before then.
</ResponseField>

<ResponseField name="bio" type="string">
  Account bio.
</ResponseField>

<ResponseField name="accountStatus" type="string">
  Current account status: `created_pending_warmup`, `warming_up`, or `ready`.
</ResponseField>

<ResponseField name="warmupDay" type="number">
  Current day of the 7-day warmup period. `0` if warmup has not started.
</ResponseField>

<ResponseField name="warmupStartDate" type="string">
  ISO 8601 date when warmup started. `null` if warmup has not started.
</ResponseField>

<ResponseField name="warmupCompletionDate" type="string">
  ISO 8601 date when warmup will complete. `null` if warmup has not started.
</ResponseField>

<ResponseField name="profilePicUrl" type="string">
  URL of the account's profile picture.
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO 8601 timestamp of when the account was created.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e', {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  });

  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.infinipost.co/v1/accounts/acc_1a2b3c4d5e',
      headers={'Authorization': 'Bearer YOUR_API_KEY'}
  )

  print(response.json())
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "accountId": "acc_1a2b3c4d5e",
    "phoneId": "phone_abc123",
    "platform": "tiktok",
    "name": "Fashion Insider",
    "username": "fashioninsider",
    "bio": "Daily fashion tips and trends 👗",
    "accountStatus": "warming_up",
    "warmupDay": 3,
    "warmupStartDate": "2024-04-19T10:00:00Z",
    "warmupCompletionDate": "2024-04-26T10:00:00Z",
    "profilePicUrl": "https://storage.googleapis.com/...",
    "createdAt": "2024-04-19T10:00:00Z"
  }
  ```
</ResponseExample>

## Error Responses

```json Unauthorized theme={null}
{
  "error": {
    "code": "unauthenticated",
    "message": "Invalid or missing API key"
  }
}
```

```json Account Not Found theme={null}
{
  "error": {
    "code": "not_found",
    "message": "Account acc_1a2b3c4d5e not found"
  }
}
```

```json Server Error theme={null}
{
  "error": {
    "code": "internal",
    "message": "An unexpected error occurred"
  }
}
```
