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 entities found in the user’s text
output An array containing the output
output[].type The type of output
output[].content An object of string
state
endSession true if the session should be ended
reprompt The repormpt text
linkAccount true if account linking is required
userInput.text The user’s text
history An array of the chats content history
accountLinkUrl If account linking is required, 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 2

How can we help?