posts_list
Retrieve social media posts for an organization, applying filters by status, channel, and due date range, with cursor-based pagination for large result sets.
Instructions
List posts for an organization with optional filters by status, channel, and date range. Supports cursor-based pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination (from pageInfo.endCursor) | |
| first | No | Number of posts to return (default: 20, max: 100) | |
| status | No | Filter by post status (e.g. ["scheduled", "sent"]) | |
| sort_by | No | Sort field (default: dueAt) | |
| due_at_end | No | Filter posts due before this ISO 8601 datetime | |
| channel_ids | No | Filter by channel IDs | |
| due_at_start | No | Filter posts due after this ISO 8601 datetime | |
| sort_direction | No | Sort direction (default: asc) | |
| organization_id | Yes | Organization ID |