---
title: "Submit Information"
method: POST
path: "/api/chat/submit-information"
tags: ["Chat"]
---

# Submit Information

`POST /api/chat/submit-information`

Submit information to the system.

## Request body

- ChatHistorySubmitInformationSchema — Schema for submitting chat history information.
  - `user_info` object, required — User information.
  - `bot_id` string, uuid, required — Unique identifier for the associated bot.
  - `session_id` string, required — Unique identifier for the session.

## Response `200`

Successful Response

- HttpResponseSchema — HTTP Response Schema.
  - `message_code` integer, required — Numeric code indicating the type of message or response.
  - `message` string, required — Human-readable message providing additional context about the response.
  - `data` unknown

## Other responses

- `422` — Validation Error

## Changes

> 3 revisions in range; 1 not diffed.

- **2023-11-08** `dbd91277da05` — 5 breaking, 2 warning
  - added the new required request property `user_infor`
  - the `session_id` request property type/format changed from `string`/`` to `string`/`uuid`
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `message` from the response with the `200` status
  - …3 more

[Change history](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/changes/api/chat/submit-information/post.md)

---

[API](https://skmtc.dev/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/cbb37496f138/schema)
