Send External Chat Feedback
This request is called when the user sends a feedback for this session. Feedback is sended after the session is ended.
Resource
POST https://<HOST>/portal/chat/<TENANT>/gateways/<GATEWAY_ID>/sessions/<SESSION_ID>/feedback
Where 'GATEWAY_ID' is the id of the gateway and 'SESSION_ID' is the id of the session.
Parameters
None
Payload
Response
None
Context
Authorization |
Authorized by token: |
Errors
HTTP code | Description |
---|---|
400 |
Missing tenant, gateway id |
500 |
General error, gateway not found, session not found or not linked to this gateway |
Example
Request
POST https://xelion.nl/portal/chat/master/gateways/1234567/sessions/2045858/feedback
Payload
{
"rating": 5,
"feedback": "this is feedback"
}