List scheduled posts
list_scheduled_postsLists posts across the user's workspaces, defaulting to upcoming scheduled posts, soonest first. Pass status to filter by a different state, e.g. 'failed' to find posts that didn't publish, and platform to filter to one platform. Each post has id, workspace_id, platform, status, scheduled_for, video_upload_id, content_type (video, image, text or carousel), caption_preview (first line of the caption that platform posts) and, for failed posts, error_message and error_code. A failed post with duplicate_of wasn't a real failure: it was stopped because that post already went out, so don't retry it. A failed post with skipped_at_daily_limit wasn't a real failure either: a recurring occurrence had no room before its next repeat, and the series carries on. A post with moved_past_limit went past a platform's daily limit and moved to its scheduled_for on its own. Results come in pages: while next_cursor isn't null there are more posts, so call again with the same filters and cursor set to it. One upload posted to several platforms is one post per platform; pass group_by_upload: true to get one entry per upload and time with its platforms listed. Filter to one workspace by passing workspace_id; without it, all workspaces the user belongs to are searched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of posts to return (default 20, max 100). | |
| cursor | No | `next_cursor` from the previous page. Keep the other parameters the same. | |
| status | No | Post status to filter by: 'scheduled' (default), 'failed', 'draft', 'published', or 'ready'. | |
| platform | No | Only posts for this platform, e.g. 'instagram' or 'snapchat'. | |
| workspace_id | No | Restrict results to one workspace. Use list_workspaces to discover valid ids. | |
| group_by_upload | No | Return `groups` instead of `posts`: one entry per upload and scheduled time, with the caption preview, content_type and each platform's post id and status. `limit` still counts posts, so an upload at the end of a page can continue on the next page as a second entry with the same video_upload_id and scheduled_for. |