/v1/communities/{community_id}/collections/{collection_id}AuthFetch one collection. Private collections resolve only for their owner (via actor_id).
Path parameters
community_id*stringSocial community UUID.
collection_id*string · uuidId of the collection.
Query parameters
actor_idstring · uuidThe acting actor (the viewer); private collections are visible to their owner only.
Response · 200 The collection.
id*string · uuidId of the collection.
Example: "99999999-0000-0000-0000-000000000001"
community_id*string · uuidId of the community the collection belongs to.
Example: "cccccccc-cccc-cccc-cccc-cccccccccccc"
owner_actor_id*string · uuidThe actor that owns the collection.
Example: "aaaaaaaa-0000-0000-0000-000000000001"
name*stringDisplay 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 · uuidAsset used as the cover image, if any.
Example: null
cover_url*stringCover image URL, if set instead of an asset.
Example: null
visibility*object`public` or `private` (owner only).
Example: "private"
position*numberOwner-defined ordering position.
Example: 0
item_count*numberNumber of posts in the collection.
Example: 12
created_at*string · date-timeWhen the collection was created.
Example: "2026-05-01T12:00:00.000Z"
updated_at*string · date-timeWhen 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_TOKENimport { Social } from "@productcraft/social";
// Reads PRODUCTCRAFT_API_KEY from the environment
const social = new Social();
const collection = await social.community("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").as("7a8b9c0d-1e2f-4a3b-8c4d-5e6f7a8b9c0d").collections.retrieve("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");social.community(…).collections.retrieve(collectionId, params?, options?): Social.Collection
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"
}