Save Feedback
This API is used to create feedback by a supervisor to a specific ACW agent. The feedback will be available in Supervisor screen.
Endpoint
Method: POST
URL: https://api.<region>.cloud.uniphore.com/sms/v2/api/savefeedback?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 of supervisor Example: Sup_001 | String | Required |
| 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. Example: Agent_007 | String | Required |
| Mention whether the feedback can be deleted or not. Example: True: Feedback is deleted False: Feedback is available in Supervisor screen. | Boolean | Required |
| Mention whether the Feedback can be sent to the ACW agent or not. Example: True / False | Boolean | Required |
| Feedback message to be sent to ACW agent Example: Please talk politely | String | Required |
| Internally system-generated unique identification number. | String | Required |
Response and Error Codes
Response Code | Description |
---|---|
200 | OK – The feedback is created. |
401 | Invalid request. Please provide a valid token. |
500 | Internal server error. |