Social API reference

Social API · Edges

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

List actors this actor has blocked. Pass `?expand=dst_actor` to nest each blocked actor's full row on the edge.

Path parameters

community_id*string

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

actor_id*string

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.

expandenum (1)

Stripe-style expansion. Pass the response field to expand (supported here: `dst_actor`) and the full object is nested under that field on every item. Omit for the unexpanded (default) shape. Unsupported values return 400 `INVALID_EXPAND`.

Response · 200 Page of block edges.

data*array

The actors this actor follows, mutes, blocks or restricts, 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/communities/{community_id}/actors/{actor_id}/blocks
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    {
      "id": "eeeeeeee-0000-0000-0000-000000000001",
      "community_id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
      "kind": "follow",
      "src_actor_id": "aaaaaaaa-0000-0000-0000-000000000001",
      "dst_actor_id": "aaaaaaaa-0000-0000-0000-000000000002",
      "dst_post_id": null,
      "payload": {},
      "created_at": "2026-05-01T12:00:00.000Z",
      "dst_actor": {}
    }
  ],
  "pagination": {
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQxMjowMDowMC4wMDBaIiwiaWQiOiJiYmJiIn0",
    "has_more": true
  }
}