List Posts
list_postsList posts with filters. Returns paginated results. workspaceId is required. Statuses: SCHEDULED, PUBLISHED, CANCELLED, RESCHEDULED.
Set includeMetrics to true to attach each post's latest performance figures (views, likes, comments, shares, engagement rate). Use this to compare how posts performed instead of fetching them one at a time. A null metrics field means no analytics have been collected for that post, which is different from zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Posts scheduled before this date (ISO 8601) | |
| from | No | Posts scheduled after this date (ISO 8601) | |
| page | No | Page number (default: 1) | |
| limit | No | Posts per page (default: 20, max: 100) | |
| status | No | Filter by post status | |
| platform | No | Filter by platform | |
| workspaceId | Yes | The workspace ID (required) | |
| includeMetrics | No | Attach latest performance metrics to each post (default: false) | |
| socialAccountId | No | Filter by social account ID |