Posts
List posts
Page through the posts of every workspace the key can reach, newest first.
GET
List posts
Needs
posts:read. See Permissions.per_page asks for fewer. Each item is the post object.
The page is in meta (current_page, last_page, total). To read every page, follow links.next until it is null. Filter with workspace_id, status (e.g. SCHEDULED, PUBLISHED, DRAFT, FAILED, or comma-separated), provider (alias platform), account_id, campaign_id, label_id, scheduled_from, scheduled_to, or search. status=PENDING_APPROVAL lists the posts waiting for approval, and REJECTED the ones sent back to their writers; each post’s approval says who it was sent to and who answered.
include_comments=true adds each post’s comments. It makes the answer much larger, so use a small per_page with it.
With client approvals on, approval_step=team or approval_step=client finds the posts waiting for approval at that step (the team check, or the client’s sign-off), and waiting_on=me the posts waiting for an answer the key’s person may give. A post sent for approval before client approvals were on waits at team. Each post then has its approval fields (The post object).
Errors
Related
- The post object: what each field means.
- Get a post: one post by its id.
- List workspaces: the workspaces the key can reach.