Skip to main content
POST
Create a new collection

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Body

application/json
name
string
required
institution
string
account_shared
boolean
parent
string

Parent collection ID (optional, creates sub-collection)

color
string | null

Optional accent color (#RGB / #RRGGBB) applied to the folder icon.

Pattern: ^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
Example:

"#10b981"

Response

201

Collection created