Send Feedback
This API is used to send live feedback by a supervisor to a specific ACW agent.
Endpoint
Method: POST
URL: https://api.<region>.cloud.uniphore.com/sms/v2/api/sendfeedback?environment=<env_name>
Query Parameter
Parameter Name | Description | Data Type | Required / Optional |
|---|---|---|---|
| Operating environment type. Three out-of-the-box environments are provided for each account:
| String | Optional |
Request Body
{
"agentCRMId": "string",
"deleted": true,
"id": "string",
"message": "string",
"send": true,
"conversationId": "string",
"supervisorId": "string"
}
Request Parameters
Request Parameters | Description | Data Type | Required/ Optional |
|---|---|---|---|
| The user ID from the client/customer database. If the audio logger provides the station-id instead of agent-id, this user ID for the ACW Agents should be the agent's station-id. | String | Required |
| To delete feedback from Supervisor screen Example: True: Sent feedback can be deleted from Supervisor screen False: Sent feedback is available in supervisor screen. Once feedback is sent, it cannot be deleted from the ACW Agent screen | Boolean | Required |
| Enter whether the Feedback is sent or not Example: True: Feedback sent to live agent. False: Feedback was not sent | Boolean | Required |
| Enter the feedback message which need to be sent to the ACW agent Example: Please talk politely | String | Required |
| Internally system-generated unique identification number. | String | Required |
| The user ID of supervisor | String | Required |
Response and Error Codes
Response Code | Description |
|---|---|
200 | OK – The feedback sent to the live agent. |
401 | Invalid request. Please provide a valid token. |
500 | Internal server error. |