---
title: "Add data into a datastore for a consumer"
method: POST
path: "/consumers/{consumer_id}/datastore/{datastoreid}/data"
tags: ["Consumers"]
---

# Add data into a datastore for a consumer

`POST /consumers/{consumer_id}/datastore/{datastoreid}/data`

## Request

- Base URL: `https://api.chift.eu`
- URL: `https://api.chift.eu/consumers/{consumer_id}/datastore/{datastoreid}/data`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/chift/apis/chift-api/docs/consumers/:consumer_id/datastore/:datastoreid/data/post.ts> (a function with typed inputs; its response is checked against the schema)

Endpoint that can be used to add data into a datastore for a specific consumer

## Path parameters

- `consumer_id` string, uuid, required
- `datastoreid` string, uuid, required

## Request body

- DataItem[]
  - `data` object, required

## Response `200`

Successful Response

- DataItemOut[]
  - `data` object, required
  - `id` string, required
  - `created_on` string, date-time, required
  - `modified_on` string, date-time, required

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity

## Changes

- **2026-11-03** `020884969534`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chift/apis/chift-api/changes/consumers/:consumer_id/datastore/:datastoreid/data/post.md)

---

[API](https://skmtc.dev/chift/apis/chift-api.md) - [All operations](https://skmtc.dev/chift/apis/chift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chift/apis/chift-api/revisions/020884969534?raw)
