Import chat messages

GraphQL endpoint
POST /graphql HTTP/1.1
Host: api.botmetrica.com
Authorization: Bearer <token>
Content-Type: application/json
Accept: application/jsonREST endpoint
Add messages to a chat (even if it doesn't exist yet)
This endpoint allows you to add messages to a chat, so you'll be able to refer to it using your internal ID. This ID should be unique for each chat per assistant.
REST request
Response body: { "chatId": "<chat-id>" }
Create a Chat
This endpoint allows you to create a new chat.
Add Messages to a Chat
This endpoint allows you to add new messages to an existing chat session.
Last updated