Conversation

send a message

post

send a new message to the conversation and retrieve an answer from our conversational system

Body
idany ofOptional
stringOptional
or
nullOptional
user_messageany ofOptionalDefault: ""
stringOptional
or
nullOptional
Responses
200
Successful Response
application/json
post
POST /api/conversation/message HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "id": "text",
  "user_message": ""
}
{
  "id": "text",
  "message": "text"
}

get conversation

post

retrieve conversation by the conversation id

Body
idany ofOptional
stringOptional
or
nullOptional
Responses
200
Successful Response
application/json
post
POST /api/conversation/get-conversation HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "id": "text"
}
{
  "response": [
    {
      "from": "user",
      "content": "text",
      "action": "SEARCH",
      "datas": null
    }
  ]
}

Last updated