Skip to main content
GET
List posts

Authorizations

Authorization
string
header
required

An API key from Settings › AI apps & API in Postploy. Keys start with ppk_.

Query Parameters

from
string<date-time>

Start of a time window, ISO 8601 with an offset. Give from and to together to get posts scheduled between them.

to
string<date-time>

End of the time window, ISO 8601 with an offset.

statusGroup
enum<string>[]

Only posts in these status groups. All groups by default.

Available options:
draft,
approval,
scheduled,
published,
failed
attention
boolean

true returns only posts that need someone: waiting for approval, failed, or blocked by a channel that needs reconnecting, whenever they're scheduled. A failed post someone dismissed in the Inbox no longer counts.

accountId
string<uuid>[]

Only posts to these channels.

id
string<uuid>[]

Only these posts.

conversationId
string[]

Only posts the Postploy assistant made in these chats, up to 10.

Maximum array length: 10
sort
enum<string>
default:desc

Order by scheduledAt.

Available options:
desc,
asc
page
integer
default:0

Which page to return, starting at 0.

Required range: x >= 0
limit
integer
default:50

How many posts per page.

Required range: 1 <= x <= 500

Response

One page of posts.

data
object[]
required
page
integer
required

This page, starting at 0.

limit
integer
required
total
integer
required

How many posts match, across all pages.