---
title: "Add data"
method: POST
path: "/{app_id}/add"
tags: ["Apps"]
---

# Add data

`POST /{app_id}/add`

Add a data source to an app.

## Path parameters

- `app_id` string, required

## Request body

- SourceApp
  - `source` string — The source that you want to add to the App.
  - `data_type` string, nullable — The type of data to add, remove it if you want Embedchain to detect it automatically.

## Response `200`

Successful Response

- DefaultResponse
  - `response` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/thuir/apis/embedchain-rest-api.md) · [All operations](https://skmtc.dev/thuir/apis/embedchain-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thuir/embedchain-rest-api/revisions/0d286e801458/schema)
