-
Notifications
You must be signed in to change notification settings - Fork 4
Routes
martmists edited this page Nov 26, 2018
·
1 revision
GET /api/chatbot/session
Returns:
-
200 OK
- a session token and spawns a new session.
POST /api/chatbot/query
Expected body:
{
"session_id": "a session ID obtained as described above",
"message": "Hello world!"
}
Returns:
-
200 OK
- A response from the chatbot. -
400 BAD REQUEST
- You sent a malformed request, more information in response body. -
403 FORBIDDEN
- Yoursession_id
is invalid.