Public API/Posts/List project posts
GET/api/projects/{projectId}/posts

List project posts

List all posts for a project. Accepts a dashboard session or an account API key that owns the project.

Request

GET /api/projects/{projectId}/posts Authorization: Bearer YOUR_ACCOUNT_API_KEY

projectId is the Mongo ObjectId of the project (from List projects), not the public slug.

Response

{ "data": [ { "id": "…", "title": "How we built our auth flow", "slug": "how-we-built-our-auth-flow", "status": "draft", "description": "…", "keyword": "…", "content": "…", "createdAt": "…", "updatedAt": "…" } ] }

Posts are sorted newest first.