Skip to main content

Summary

Fetch wall posts from your workspace. Posts include author details, timestamps, and optional images.

Request

GET https://api.planetaryapp.us/v1/workspace/{workspace_id}/wall

Query Parameters

ParameterTypeDescription
pagenumberPage number (default: 1)
limitnumberItems per page (default: 50, max: 100)

Response example

{
  "success": true,
  "posts": [
    {
      "id": "clz1234abcd",
      "content": "Welcome to our workspace!",
      "author": {
        "userId": 123456,
        "username": "john_doe",
        "displayName": "John Doe",
        "thumbnail": "https://example.com/avatar.png"
      },
      "createdAt": "2024-01-01T00:00:00Z",
      "image": "https://example.com/post-image.jpg"
    }
  ],
  "total": 15,
  "page": 1,
  "limit": 50,
  "pages": 1
}