Social API reference

Social API · Export

get/v1/workspaces/{workspace_id}/communities/{community_id}/actors/{actor_id}/commentsAuth

Every comment an actor authored, all statuses (published / hidden / removed) — the GDPR-export view. 50/page (max 200), cursor-paginated newest-first.

Path parameters

workspace_id*string

Workspace UUID.

community_id*string

Community UUID (must belong to the workspace).

actor_id*string

The data subject — social actor UUID.

Query parameters

limitinteger

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

cursorstring

Opaque cursor from the previous page's `pagination.next_cursor`; omit for the first page.

Response · 200 Page of the actor's comments.

data*array

The actor's comments on this page.

pagination*object
next_cursor*string

Opaque base64url cursor for the next page; `null` when no further pages.

Example: "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQxMjowMDowMC4wMDBaIiwiaWQiOiJiYmJiIn0"

has_more*boolean

`true` when at least one more page exists. Mirrors `next_cursor !== null`; published as a separate field so SDKs can drive a `while` loop without parsing the cursor. A short or empty `data` array does NOT imply the end of the list when a lane post-filters — always page until this is `false`.

Example: true

Example

Request

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

Response

{
  "data": [
    {
      "id": "bbbbbbbb-0000-0000-0000-000000000001",
      "community_id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
      "post_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
      "parent_id": null,
      "actor_id": "aaaaaaaa-0000-0000-0000-000000000001",
      "body": "Looks great, shipping today.",
      "depth": 0,
      "status": "published",
      "visibility": "public",
      "reaction_counts": {
        "like": 2
      },
      "pinned": false,
      "pinned_at": 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": {
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQxMjowMDowMC4wMDBaIiwiaWQiOiJiYmJiIn0",
    "has_more": true
  }
}