Social API reference

Social API · Feed

get/v1/communities/{community_id}/actors/{actor_id}/feedAuth

Feed for an actor: their own posts + posts from actors they follow, with blocks excluded. Default order is `ranked` (recency + engagement + follow-graph signals); pass `order=chronological` to get the time-ordered feed. 50/page (max 200). The cursor shape differs between orders — passing a chronological cursor with `order=ranked` returns 400 INVALID_CURSOR.

Path parameters

community_id*string

Social community UUID. Must belong to the PAK's workspace.

actor_id*string

Viewer social actor UUID — feed is candidate-pooled to their follow-graph.

Query parameters

limitinteger

Maximum number of items to return (1-200, default 50).

cursorstring

Opaque cursor; not interchangeable between `ranked` and `chronological` modes.

orderenum (2)

`ranked` scores posts by engagement and recency; `chronological` is newest first.

Response · 200 Page of posts (only `published`, non-expired, visibility-filtered).

data*array

The feed's posts on this page.

pagination*object

Cursor encodes `(score, id)` for `ranked` feeds and `(created_at, id)` for `chronological` feeds. Cursors are NOT interchangeable between modes.

Example

Request

GET https://social.productcraft.co/v1/communities/{community_id}/actors/{actor_id}/feed
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    {
      "id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
      "community_id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
      "actor_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
      "kind": "text",
      "title": "Shipping Phase 8",
      "body": "Stories are live!",
      "url": "https://cdn.example.com/img.png",
      "attributes": {},
      "visibility": "public",
      "status": "published",
      "reaction_counts": {
        "like": 12,
        "fire": 3
      },
      "comment_count": 4,
      "source_post_id": null,
      "repost_count": 0,
      "quote_count": 0,
      "edited_at": null,
      "edit_count": 0,
      "view_count": 0,
      "expires_at": null,
      "pinned": false,
      "settings": {},
      "scheduled_for": null,
      "assets": [
        {
          "asset_id": "eeeeeeee-0000-0000-0000-000000000001",
          "alt_text": "A golden retriever on a beach"
        }
      ],
      "created_at": "2026-05-01T12:00:00.000Z",
      "updated_at": "2026-05-01T12:00:00.000Z"
    }
  ],
  "pagination": {}
}