Organization

Collections

Create and list collections used to organize workspace assets.

Collections are workspace-scoped. Asset assignment is performed through the asset update endpoint with collectionId.

Authentication: management API endpoints require a Clerk bearer token.https://api.vyso.io/v1/...

Endpoints

GET/v1/asset-collections

List collections

  • Returns count and collections with assetCount, createdAt, and updatedAt.
POST/v1/asset-collections

Create a collection

  • JSON body: { "name": "Campaigns" }. Collection names are required and unique within the workspace.
curl -i -X POST https://api.vyso.io/v1/asset-collections -H "Authorization: Bearer $CLERK_SESSION_TOKEN" -H "Content-Type: application/json" -d '{"name":"Campaigns"}'
DELETE/v1/asset-collections/:id

Delete a collection

  • Deleting a collection does not use the asset endpoint; provide the collection identifier in the path.