# List social accounts

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

`GET /api/accounts` · MCP tool `accounts_list` · scope `accounts:read` · rate limit `apiRead` · success `200`

List your social accounts, optionally only one platform or one platform set. `status` defaults to `active`, the accounts that can publish; pass `revoked` for disconnected accounts or `all` for both. The `active` total for a set equals that set's `accountCount` in platform_sets_list. `health` says whether each account can publish (`canPost`), whether only a reconnect helps (`needsReconnect`), and why (`issues[]` with codes such as `TOKEN_EXPIRED` or `MISSING_SCOPE:w_member_social`). Fix with accounts_connect and the account's id as `accountId`. `platformMetadata` has public per-platform details, such as the TikTok creator's allowed privacy levels. Use it to see what a user can post to or to find an account id; use accounts_get to re-check one account whose id you have, and platform_sets_list for the sets themselves. Paginated with `limit` and `offset`. A key restricted to some sets sees only their accounts; an unknown `platformSetId` is 404 PLATFORM_SET_NOT_FOUND.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `platform` | query | instagram \| facebook \| linkedin \| tiktok \| threads \| twitter \| discord \| telegram \| bluesky \| youtube \| pinterest | no | Only accounts on this platform. Default: every platform. |
| `platformSetId` | query | string | no | Only accounts in this platform set (`id` from platform_sets_list). Default: every set the key can see. |
| `status` | query | active \| revoked \| all | no | `active` (default): accounts that can publish. `revoked`: disconnected accounts. `all`: both. |
| `limit` | query | integer | no | Page size, 1-100. Default 20. |
| `offset` | query | integer | no | Number of items to skip. Default 0. |

Example response:

```json
{
  "data": [],
  "pagination": {
    "limit": 20,
    "offset": 0,
    "total": 0,
    "hasMore": false
  }
}
```
