---
title: "POST Chat with Embedchain"
description: "Chats with the Embedchain app using a given question."
last_updated: "2026-05-07T04:47:27.684786+00:00"
canonical_url: "https://www.doc0.dev/docs/faa36707-7c28-4f69-a18f-700ff61c704e/api/embedchain-api-server/chat-with-embedchain"
---

<APIEndpoint
  method={"POST"}
  path={"/chat"}
  summary={"Chat with Embedchain"}
  description={"Chats with the Embedchain app using a given question."}
  deprecated={false}
  baseUrl={""}
/>

## Request Body

JSON object containing a 'question'.

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Chat successful, returns the response."}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"400"}
  description={"Invalid request parameters."}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"500"}
  description={"Failed to chat due to an internal error."}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/chat"}
  parameters={[]}
  requestBody={{"contentType":"application/json","required":true,"description":"JSON object containing a 'question'.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/faa36707-7c28-4f69-a18f-700ff61c704e/llms.txt) for all pages in this wiki.
