Get Bot Responses by Bot Id and User Message

Method

GET

Media Type

application/json

URL

http://[server]/dolphin/apiv1/graph/bots/messages

Header

Authorization : Bearer [generatedToken]

Body

{ “botId”: “[botId]”, “message”: “Hallo” }

Status

200

Response

{ “status”: “success”, “data”: [ { “0”: { “response”: “Hallo”, “type”: “PROMPT”, “answers”: [ “Hallo” ], “user”: true }, “1”: { “knowledgeId”: “[knowledgeId]”, “intent”: “[intent]”, “message”: “[message]”, “response”: “[response]”, “type”: “[type]”, “terms”: [ “hallo” ], “answers”: [ “[answer]” ], “questions”: [ { “name”: “[name]”, “value”: “100% (100%)” }, { “name”: “[name]”, “value”: “0% (30%)” } ], “user”: false } }, “hasMore”: false, “nextIndex”: 0, “prevIndex”: 0, “totalResults”: 0 }

Last updated