List posts
Get a paginated list of posts for the current organization with optional filters.
Get a paginated list of posts for the current organization with optional filters. Results include post content, containers, scheduling status, and publishing state. Each returned post includes its unique ID, which can be used with GET /v1/posts/:id for full details or DELETE /v1/posts/:id to cancel a scheduled post.
Filtering:
tenant_id- Filter by tenant ID for multi-tenant applications (exact match). Posts carry no tenant of their own, so a post matches when at least one of its target social accounts has that tenant ID.tenantIdis accepted as an alias for parity with GET /v1/social-accounts.social_account_id- Filter by social account ID (posts targeting that account). Accepts the encoded ID returned by the API, or a raw numeric ID.created_after/created_before- Creation timestamp range (ISO 8601)scheduled_after/scheduled_before- Scheduled timestamp range (ISO 8601)- All filters combine with AND.
Note that filters select posts: a matching post is returned with its full socialAccounts array, so a post fanned out across several tenants will list all of its accounts. When tenant_id and social_account_id are combined they must be satisfied by the same account, so pairing a tenant with an account outside it returns no results rather than matching through a sibling account.
Pagination: use limit and offset. pagination.total is the total number of posts matching the filters across all pages; pagination.count is the number of posts in the current page.
Permissions: Requires posts:read. Access is limited by the API key creator's current organization membership and stored key ceiling. See Organization permissions.
tenant_id?stringFilter by tenant ID for multi-tenant applications (exact match). Returns posts targeting at least one social account with this tenant ID.
tenantId?stringAlias for tenant_id, accepted for parity with GET /v1/social-accounts. If both are provided, tenant_id wins.
created_after?stringFilter posts created after this timestamp
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timecreated_before?stringFilter posts created before this timestamp
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timescheduled_after?stringFilter posts scheduled after this timestamp
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timescheduled_before?stringFilter posts scheduled before this timestamp
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timelimit?stringNumber of posts per page (1-100)
"50"offset?stringPagination offset
"0"Posts retrieved successfully
application/json- response
success*booleanposts*array<>Array of posts (kept for backward compatibility)
data?array<>Array of posts (for UI package compatibility)
pagination*curl -X GET 'https://api.outstand.so/v1/posts'{ "success": true, "posts": [ { "id": "string", "orgId": "string", "publishedAt": "2019-08-24T14:15:22Z", "scheduledAt": "2019-08-24T14:15:22Z", "isDraft": true, "createdAt": "2019-08-24T14:15:22Z", "socialAccounts": [ { "id": "string", "nickname": "string", "network": "string", "username": "string", "status": "pending", "error": "string", "platformPostId": "string", "platformPostUrl": "string", "publishedAt": "2019-08-24T14:15:22Z" } ], "containers": [ { "id": "string", "content": "string", "media": [ { "url": "string", "filename": "string" } ] } ] } ], "data": [ { "id": "string", "orgId": "string", "publishedAt": "2019-08-24T14:15:22Z", "scheduledAt": "2019-08-24T14:15:22Z", "isDraft": true, "createdAt": "2019-08-24T14:15:22Z", "socialAccounts": [ { "id": "string", "nickname": "string", "network": "string", "username": "string", "status": "pending", "error": "string", "platformPostId": "string", "platformPostUrl": "string", "publishedAt": "2019-08-24T14:15:22Z" } ], "containers": [ { "id": "string", "content": "string", "media": [ { "url": "string", "filename": "string" } ] } ] } ], "pagination": { "limit": 0, "offset": 0, "total": 0, "count": 0 }}