List all posts
Get all the posts
Filter post request body
userId?string
Format
uuidboardId?array<string>
Default is all empty array.
roadmapId?string
Format
uuidpagenumber
limit?number
"Number of posts to return in a single request. Default is 10."
createdstring
Sort posts by creation date in 'asc' or 'desc' order.
Response Body
curl -X POST "http://localhost:8000/api/v1/posts/get" \ -H "Content-Type: application/json" \ -d '{ "page": 1, "created": "desc" }'{
"posts": [
{
"postId": "string",
"title": "string",
"slug": "string",
"contentMarkdown": "string",
"createdAt": "2025-09-23T13:28:01.611Z",
"updatedAt": "2025-09-23T13:28:01.611Z",
"board": {
"boardId": "11c14790-b4d3-4689-942c-55548cfdd8a6",
"name": "🔗 Integrations",
"color": "4A90E2",
"url": "integrations-dsgksdIUYO",
"createdAt": "2025-09-23T13:28:01.611Z"
},
"author": {
"userId": "string",
"name": "string",
"avatar": "string",
"username": "string"
},
"roadmap": {
"id": {},
"name": {},
"url": {},
"color": {}
},
"voters": {
"votes": [
{
"voteId": "string",
"userId": "string",
"postId": "string",
"createdAt": "2025-09-23T13:28:01.611Z",
"name": "string",
"username": "string",
"avatar": "string"
}
],
"votesCount": 10,
"viewerVote": {
"voteId": "string",
"userId": "string",
"postId": "string",
"createdAt": "2025-09-23T13:28:01.611Z"
}
}
}
]
}Empty
{
"message": "Something went wrong!",
"code": "SERVER_ERROR"
}