---
title: "Publish history, newest first (keyset pagination)"
method: GET
path: "/publishing/posts"
tags: ["Publishing"]
---

# Publish history, newest first (keyset pagination)

`GET /publishing/posts`

## Request

- Base URL: `https://app.makeaivideo.ai/api/v1`
- URL: `https://app.makeaivideo.ai/api/v1/publishing/posts`
- Auth: HTTP bearer

## Query parameters

- `limit` integer
- `cursor` string
- `video_id` string

## Response `200`

Posts

- object
  - `data` object
    - `posts` Post[]
      - `id` string: pub_...
      - `status` 'preparing' | 'importing' | 'pending' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed': Terminal: published, partial, failed
      - `done` boolean
      - `video_id` string, nullable
      - `video_title` string, nullable
      - `caption` string, nullable
      - `account_ids` string[]
      - `scheduled_for` string, nullable
      - `error` string, nullable: Why the whole job failed before posting (per-destination errors are on destinations)
      - `destinations` PostDestination[]
        - `platform` string, nullable
        - `account_id` string, nullable
        - `account_name` string, nullable
        - `status` 'pending' | 'published' | 'failed'
        - `platform_status` string, nullable: The publishing service's own value: queued, scheduled, publishing, done, failed, cancelled
        - `url` string, nullable: The live post, once published
        - `published_at` string, nullable
        - `error` string, nullable
        - `next_retry_at` string, nullable
      - `summary` object
        - `total` integer
        - `published` integer
        - `failed` integer
        - `pending` integer
      - `created_at` string, nullable
      - `updated_at` string, nullable
      - `poll_after_seconds` integer, nullable: null when done
    - `has_more` boolean
    - `next_cursor` string, nullable
  - `error` unknown
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time

---

[API](https://skmtc.dev/makeaivideo/apis/makeaivideo-api.md) · [All operations](https://skmtc.dev/makeaivideo/apis/makeaivideo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/makeaivideo/apis/makeaivideo-api/revisions/8c6351087d6d?raw)
