Social API reference

Social API · Collections

get/v1/communities/{community_id}/collections/{collection_id}Auth

Fetch one collection. Private collections resolve only for their owner (via actor_id).

Path parameters

community_id*string

Social community UUID.

collection_id*string · uuid

Id of the collection.

Query parameters

actor_idstring · uuid

The acting actor (the viewer); private collections are visible to their owner only.

Response · 200 The collection.

id*string · uuid

Id of the collection.

Example: "99999999-0000-0000-0000-000000000001"

community_id*string · uuid

Id of the community the collection belongs to.

Example: "cccccccc-cccc-cccc-cccc-cccccccccccc"

owner_actor_id*string · uuid

The actor that owns the collection.

Example: "aaaaaaaa-0000-0000-0000-000000000001"

name*string

Display name.

Example: "Travel"

kind*object

`bookmark` (a private folder of saved posts) or `highlight` (shown on the owner's profile; its stories never expire).

Example: "bookmark"

cover_asset_id*string · uuid

Asset used as the cover image, if any.

Example: null

cover_url*string

Cover image URL, if set instead of an asset.

Example: null

visibility*object

`public` or `private` (owner only).

Example: "private"

position*number

Owner-defined ordering position.

Example: 0

item_count*number

Number of posts in the collection.

Example: 12

created_at*string · date-time

When the collection was created.

Example: "2026-05-01T12:00:00.000Z"

updated_at*string · date-time

When the collection last changed.

Example: "2026-05-01T12:00:00.000Z"

Example

Request

GET https://social.productcraft.co/v1/communities/{community_id}/collections/{collection_id}
Authorization: Bearer YOUR_TOKEN

Response

{
  "id": "99999999-0000-0000-0000-000000000001",
  "community_id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
  "owner_actor_id": "aaaaaaaa-0000-0000-0000-000000000001",
  "name": "Travel",
  "kind": "bookmark",
  "cover_asset_id": null,
  "cover_url": null,
  "visibility": "private",
  "position": 0,
  "item_count": 12,
  "created_at": "2026-05-01T12:00:00.000Z",
  "updated_at": "2026-05-01T12:00:00.000Z"
}