Skip to main content
POST
Create a new collection

Authorizations

x-portkey-api-key
string
header
required

Body

application/json
name
string
required

Name of the collection

workspace_id
string

ID or slug of the workspace

parent_collection_id
string

ID or slug of the parent collection (optional)

Response

Collection created successfully

id
string<uuid>

ID of the created collection

slug
string

Slug of the created collection

Last modified on April 8, 2026