Skip to main content
GET

List Posts

Retrieves a paginated list of posts from all workspaces that the authenticated user has access to. Posts are returned in reverse chronological order (newest first). Use include_comments=true to attach all comments for each post, including their associated contact info.

Request

integer
default:"1"
Page number for pagination
integer
default:"100"
Number of posts per page (maximum 100)
boolean
default:"false"
When true, includes all comments associated with each post, including their contact info (CRM contact)

Response

array
Array of post objects
integer
Current page number
integer
Last page number
integer
Number of items per page
integer
Total number of posts
integer
Starting post number for current page
integer
Ending post number for current page
array
When include_comments=true, each post includes a comments array. Each comment has id, content, author_name, platform, created_at, and a contact object with CRM contact info (name, username, profile_url, etc.) when available.

Code Examples

Error Codes

Unauthorized
Missing or invalid API token
Forbidden
Token does not have ‘posts’ permission