Skip to main content
GET
/
automation
/
get-all-posts
Get All Posts
curl --request GET \
  --url https://public.reap.video/api/v1/automation/get-all-posts \
  --header 'Authorization: Bearer <token>'
{
  "posts": [
    {
      "id": "<string>",
      "projectId": "<string>",
      "clipId": "<string>",
      "platforms": [
        "<string>"
      ],
      "successPlatforms": [
        "<string>"
      ],
      "failedPlatforms": [
        "<string>"
      ],
      "integrations": [
        "<string>"
      ],
      "title": "<string>",
      "description": "<string>",
      "tags": [
        "<string>"
      ],
      "status": "processing",
      "scheduleType": "scheduled",
      "scheduleDate": 123,
      "publishDate": 123,
      "urls": {},
      "platformSettings": {
        "youtube": {
          "privacy": "public",
          "embeddable": true,
          "publicStats": true,
          "madeForKids": false
        },
        "tiktok": {
          "privacy": "public",
          "disableComments": false,
          "disableDuet": false,
          "disableStitch": false,
          "brandContent": false,
          "brandOrganic": false
        },
        "instagram": {
          "shareToFeed": false
        },
        "linkedin": {
          "privacy": "public"
        }
      },
      "createdAt": 123,
      "updatedAt": 123
    }
  ],
  "currentPage": 123,
  "totalPages": 123,
  "totalPosts": 123
}

Overview

Retrieve a paginated list of all publisher posts. Filter by status or date range to find specific posts.

Rate Limiting

This endpoint is rate limited to 10 requests per minute per API key.

Response

posts
array
Array of post objects
currentPage
integer
Current page number
totalPages
integer
Total number of pages
totalPosts
integer
Total number of posts matching the filters

Example Request

curl -X GET "https://public.reap.video/api/v1/automation/get-all-posts?page=1&pageSize=10&status=completed" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Example Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1

Page number for pagination

pageSize
integer
default:10

Number of posts per page (max 100)

status
enum<string>[]

Filter by post status

Available options:
processing,
draft,
completed,
failed,
cancelled,
unresolved
createdAfter
integer

Filter posts after this Unix timestamp

createdBefore
integer

Filter posts before this Unix timestamp

Response

200 - application/json

Successful response

posts
object[]
currentPage
integer
totalPages
integer
totalPosts
integer