Skip to main content
Items

Create items in bulk

post/v1/data/{workspace_id}/collections/{collection_id}/items/batch

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 several items with one request. Send an array of Item objects, as shown below.

These examples use a Person collection with firstName and lastName properties. Use your collection's itemsType and property keys.

You can supply createdAt and @id for each item, or let the API generate them. An existing @id returns 400 IntegrityError. A successful request returns 201 Created with the created item IDs.

The request is all-or-nothing: if any item fails, none of the changes are saved.