# Get a connected account

Source: https://ampost.io/docs/api/accounts-get · Full reference: https://ampost.io/llms-full.txt

`GET /api/accounts/{accountId}` · MCP tool `accounts_get` · scope `accounts:read` · rate limit `apiRead` · success `200`

Get one social account by id, including revoked ones (`status: revoked`). `health`: `canPost`, `needsReconnect` and `issues[]` (codes such as `ACCOUNT_REVOKED`, `TOKEN_EXPIRED`, `MISSING_SCOPE:<scope>`, each with a message to relay). When `needsReconnect` is true, call accounts_connect with `accountId` set to this id; the account keeps its id. `platformMetadata` has public per-platform details. Use it to check one account before posting or after a reconnect; use accounts_list to find accounts by platform, set or status. 404 ACCOUNT_NOT_FOUND when no account with this id is yours or the key is restricted to other sets.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `accountId` | path | string | yes | Account id (UUID): `id` from accounts_list |

Example response:

```json
{
  "id": "c41d8e2f-6a3b-4f9c-b1e5-7d2a9c4e6f80",
  "platform": "instagram",
  "platformSetId": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
  "platformAccountId": "17841400000000000",
  "username": "ampost.io",
  "avatarUrl": null,
  "status": "active",
  "scopes": [
    "instagram_business_basic",
    "instagram_business_content_publish"
  ],
  "tokenExpiresAt": "2026-12-05T09:00:00.000Z",
  "tokenHealth": "healthy",
  "health": {
    "canPost": true,
    "needsReconnect": false,
    "issues": []
  },
  "platformMetadata": {
    "displayName": "Ampost",
    "accountType": "BUSINESS"
  },
  "analytics": {
    "available": true,
    "optInRequired": false,
    "enabled": true
  },
  "createdAt": "2026-10-06T09:00:00.000Z",
  "updatedAt": "2026-10-06T09:00:00.000Z",
  "lastUsedAt": "2026-10-06T09:00:04.000Z"
}
```
