Social API reference

Social API · Mentions

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

List every place this actor has been @-mentioned (posts + comments).

Cursor-paginated, newest-first. Interleaves post + comment mentions in a single feed; the `source` field discriminates which surface each row came from. The `post_id` field is always set so the client can deep-link, even for comment mentions.

Path parameters

community_id*string

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

actor_id*string

Social actor UUID whose mentions to list.

Query parameters

limitinteger

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

cursorstring

Opaque cursor from `pagination.next_cursor`.

Response · 200 Page of mention entries.

data*array

Interleaved post + comment mentions, newest-first. Cursor is opaque base64url(JSON({created_at, source, source_id})).

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}/mentions
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    {
      "source": "post",
      "source_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
      "post_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
      "mentioned_id": "aaaaaaaa-0000-0000-0000-000000000001",
      "created_at": "2026-05-01T12:00:00.000Z"
    }
  ],
  "pagination": {
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQxMjowMDowMC4wMDBaIiwiaWQiOiJiYmJiIn0",
    "has_more": true
  }
}