Anakin.ai API
  1. Chatbot
Anakin.ai API
  • Getting started
  • API Versions
  • Apps
    • Chatbot
      • Conversation with Chatbot
        POST
    • QuickApp
      • Run a Quick App
  • Meta
    • Get all API versions
      GET
  1. Chatbot

Conversation with Chatbot

POST
/v1/chatbots/{appId}/messages
Send message to a particular thread or start a new thread.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.anakin.ai/v1/chatbots/1344/messages' \
--header 'X-Anakin-Api-Version;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "content": "Say this is a test!",
    "stream": true
}'
Response Response Example
200 - Non-streaming response - Success
{
    "content": "This is a test!",
    "threadId": "CM88W9SLrm712ozLA4Pz5Xmhzoj5EIcf"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Body Params application/json

Examples

Responses

🟢200Non-streaming response
application/json
Body

🟢200Streaming Response
Modified at 2024-07-26 03:44:20
Previous
API Versions
Next
Run a Quick App
Built with