Telegram integration

Create a Telegram chat history entry

Save chat history items of a Replica belonging to the logged in user.

post/v1/replicas/{replicaUUID}/chat/history/telegram

Request

  • Base URL: https://api.sensay.io
  • URL: https://api.sensay.io/v1/replicas/{replicaUUID}/chat/history/telegram
  • Auth: one of:
    • API key in header X-ORGANIZATION-SECRET and API key in header X-USER-ID and API key in header X-USER-ID-TYPE
    • API key in header X-ORGANIZATION-SECRET

Path parameters

replicaUUIDstring uuid required

The replica unique identifier (UUID)

Example:03db5651-cb61-4bdf-9ef0-89561f7c9c53

Headers

X-API-Versionstring
Example:2025-03-25
Content-Encoding'gzip'

Content encoding for request body compression. Optional - when used, client is responsible for gzipping and sending binary data.

Request body

contentstring required

Content of the message

Example request

{
  "content": "How did you handle the immense pressure during the Civil War?"
}

Response

Saves the chat history of the replica by the currently logged in user.

successboolean required

Indicates the status of the request

Changes

No recorded changes to this operation across all 1 revision of this API.