Skip to main content
Collections

Create a collection

post/v1/data/{workspace_id}/collections

Authorizations

Authorizationstringheaderrequired

Use an account access token as Bearer <token>.

Get an access token ↗

Create a collection with the fields shown below. See the Collection object for all fields.

This example creates a data collection at the workspace root. You can also create a folder or create a collection inside a folder with this endpoint.

You can supply createdAt and @id, or let the API generate them. An existing @id returns 400 IntegrityError.

A successful request returns 201 Created with {"@id": "COLLECTION_ID"} and the new object's URL in the Location header.