Endpoint
Authentication
This endpoint requires Bearer token authentication. Include your API key in the Authorization header:Path Parameters
The unique identifier of the organization. The API key must have access to this organization.Example:
org_123Query Parameters
Number of items per page. Must be between 1 and 100.Example:
10Page number to retrieve. Must be at least 1.Example:
1Sort order by creation date.Options:
asc | descFilter posts by status. Can be a single value or multiple values by repeating the query parameter.Options:
draft | publishedDefault: ["published"] (only published posts)Examples:- Single value:
?status=published - Multiple values:
?status=draft&status=published
Filter posts by content type. Can be a single value or multiple values by repeating the query parameter.Options:
changelog | linkedin_postDefault: All content typesExamples:- Single value:
?contentType=changelog - Multiple values:
?contentType=changelog&contentType=linkedin_post
Response
Array of post objects matching the query criteria.
Pagination metadata for navigating through the result set.
Examples
Response Example
200 Success
400 Bad Request
401 Unauthorized
403 Forbidden
503 Service Unavailable
Status Codes
| Code | Description |
|---|---|
| 200 | Posts fetched successfully |
| 400 | Invalid path params or query parameters |
| 401 | Missing or invalid API key |
| 403 | Forbidden - API key does not have access to the specified organization |
| 503 | Authentication service unavailable |
Notes
- The default behavior is to return only
publishedposts unless you explicitly specify thestatusquery parameter - To retrieve all posts regardless of status, include both values:
?status=draft&status=published - Posts are ordered by creation date with the most recent first by default (
sort=desc) - The maximum page size is 100 items
- The API key must belong to the organization specified in the path, otherwise a 403 error will be returned