1. Home
  2. Docs
  3. API
  4. Chatbot

Chatbot

HTTP Request

POST https://engine.conversation.one/chatbot/{AppId}

Parameters

Name Optional Description
type No Use “input.text”
userInput.text No Send the text typed by the user

Response

Name Description
status true for success
error Error string if status is not true
intent The intent identified
entities The enteties found in the user’s text
output An array containg the output
output[].type The type of output
output[].content An object ot string
state
endSession true if the session should be ended
reprompt The repormpt text
linkAccount true if account linking is requiered
userInput.text The user’s text
history An array of the chats content history
accountLinkUrl If account linking is requeired, the link point to the OAuth login page

Example

curl -v -H "Content-Type:application/json" -X POST "https://engine.conversation.one/chatbot/1369" -d '{"userInput":{"text":"what is my balanace"},"type":"input.text"}'

 

Making Requests

POST requests must have a JSON encoded body and the Content-Type: application/json header.
GET requests have parameters provided in the querysting.
All requests must be made over HTTPS. Any HTTP requests are met with an HTTP 302 to its HTTPS equivalent.

Was this article helpful to you? Yes No

How can we help?