Skip to main content
Collections

Create a collection

post/v1/data/{workspace_id}/collections

Authorizations

X-API-Key or Authorizationstringheaderrequired

We recommend sending your Personal API Key in x-api-key. Datablist handles token renewal for you. Optionally, use an access token as Authorization: Bearer <token> if your application manages tokens itself. Send only one credential header.

Authentication options ↗

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.