/v1/communities/{community_id}/collectionsAuthCreate a collection. Default kind `bookmark`, visibility `private`. Pass an Idempotency-Key so retries are safe.
Path parameters
community_id*stringSocial community UUID.
Headers
Idempotency-KeystringOpaque client string; replays return the original response.
Request body
actor_idstring · uuidThe acting actor, who owns the new collection. Send it, or the deprecated `owner_actor_id`; one of the two is required.
Example: "aaaaaaaa-0000-0000-0000-000000000001"
owner_actor_idstring · uuidDeprecated alias of `actor_id`; send `actor_id`.
Example: "aaaaaaaa-0000-0000-0000-000000000001"
name*stringCollection name (1-200 chars).
Example: "Travel"
kindenum (2)Default `bookmark` (owner-scoped). `highlight` is profile-public and bypasses story expiry.
cover_asset_idstring · uuidCover image — a ready asset (task 019) owned by the collection owner.
cover_urlstringCover image URL (alternative to cover_asset_id).
visibilityenum (2)Default `private`.
positionnumberOwner-defined ordering position.
Response · 201 Collection created.
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
POST https://social.productcraft.co/v1/communities/{community_id}/collections
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
{
"actor_id": "aaaaaaaa-0000-0000-0000-000000000001",
"owner_actor_id": "aaaaaaaa-0000-0000-0000-000000000001",
"name": "Travel",
"kind": "bookmark",
"cover_asset_id": "00000000-0000-0000-0000-000000000000",
"cover_url": "string",
"visibility": "public",
"position": 0
}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"
}