Retrieves a list of posts, with support for filtering by profile type, profile ID, search, and order. This endpoint is used to retrieve blog posts for the website.
No authentication required.
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| search | string | No | Search term for post title or content | "workout" |
| ids | string | No | Get specific posts by ID(s) | "1,2" |
| order | string | No | Order of results: ASC or DESC (default: DESC) | "DESC" |
| per_page | int | No | Set the per page count (default: 50) | 10 |
Returns a paginated list of post resources.
{
"data": [
{ /* Post Resource */ }
],
"links": { /* Pagination Data */ },
"meta": { /* Pagination Data */ }
}
For a full schema, see Post Resource and Pagination Data.