---
title: "List posts"
method: GET
path: "/posts"
tags: ["Posts"]
---

# List posts

`GET /posts`

## Request

- Base URL: `https://api.posteahora.com/functions/v1/api`
- URL: `https://api.posteahora.com/functions/v1/api/posts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/posteahora/apis/posteahora-public-api/docs/posts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `status` 'draft' | 'scheduled' | 'queued' | 'published' | 'partial_published' | 'failed'
- `limit` integer

## Response `200`

OK

- object
  - `posts` Post[]
    - `id` string, uuid
    - `title` string, nullable
    - `caption` string, nullable
    - `platforms` string[]
    - `status` 'draft' | 'scheduled' | 'queued' | 'published' | 'partial_published' | 'failed'
    - `scheduled_at` string, date-time, nullable
    - `published_at` string, date-time, nullable
    - `media_urls` string[]
    - `media_type` 'image' | 'video' | 'null', nullable
    - `connected_account_id` string, uuid, nullable
    - `platform_results` PlatformResult[]
      - `platform` string, required
      - `success` boolean, required
      - `error` string
      - `remote_post_id` string
      - `remote_publish_id` string
      - `remote_permalink` string, uri
    - `created_at` string, date-time

---

[API](https://skmtc.dev/posteahora/apis/posteahora-public-api.md) - [All operations](https://skmtc.dev/posteahora/apis/posteahora-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/posteahora/apis/posteahora-public-api/revisions/552a8eb6c30f?raw)
