# List posts

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

`GET /api/posts` · MCP tool `posts_list` · scope `posts:read` · rate limit `apiRead` · success `200`

List your posts, newest created first, as full post objects (status, text, media, schedule, targets and `platformPosts`, the result per account). Use it to find posts: filter by `status`, `platform`, `platformSetId` (posts with an account in that set) or `search` (text match); filters combine. To read one post whose id you have, use posts_get; for views, likes and other metrics, use analytics_posts. Paginated with `limit` and `offset`; `pagination.hasMore` says whether another page exists. A key restricted to some platform sets sees only their posts. An unknown `platformSetId` is 404 PLATFORM_SET_NOT_FOUND.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `status` | query | draft \| scheduled \| queued \| posting \| published \| partial \| failed \| discarded \| deleted | no | Only posts with this status: `draft`, `scheduled`, `queued`, `posting`, `published`, `partial`, `failed`, `discarded`, `deleted`. Default: every status. |
| `platform` | query | instagram \| facebook \| linkedin \| tiktok \| threads \| twitter \| discord \| telegram \| bluesky \| youtube \| pinterest | no | Only posts with an account on this platform. Default: every platform. |
| `platformSetId` | query | string | no | Only posts with an account in this platform set (`id` from platform_sets_list). Default: every set the key can see. |
| `search` | query | string | no | Only posts whose main text contains this, case-insensitive, e.g. `launch` |
| `approvalStatus` | query | pending \| approved \| rejected | no | Approval mode: only posts with this approval status, e.g. `pending` for the posts that wait for an approver. Default: every post. |
| `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
  }
}
```
