-
Notifications
You must be signed in to change notification settings - Fork 4
API Reference
Hikari Kibo edited this page Jan 30, 2019
·
1 revision
Method: GET
Gets your session ID for a new chatbot session.
Returns 200 OK with a application/json response.
{
"token": "<TOKEN>"
}Method: POST
Queries Chatbot with the session ID and the Message. You need to call /api/chatbot/session first before using this endpoint.
| Parameter | Type | Description |
|---|---|---|
session_id |
String | The Session ID from /api/chatbot/session. |
message |
String | Your Message. |
Returns 200 OK with an application/json response if request is successful.
Returns 403 Forbidden if session_id is missing.
Returns 400 Bad Request if either or both parameters are missing or empty.