Get the List of Feedbacks
Description
You can use this API to fetch the list of feedback from the website visitors.
HTTP Method - GET
Query Parameters
- operator_ids: To fetch the feedback based on the ArrayList of the operator IDs
- department_ids: To fetch the feedback based on the ArrayList of the department IDs
- app_ids: To fetch the feedback based on the ArrayList of the app IDs
- start_time: The feedbacks after the specified time will be retrieved and displayed.
- end_time: The feedback before the specified time will be retrieved and displayed.
- timezone_offset: Time zone mentioned in the portal, you should define the offset for the time zone.
- visitor_email: Based on the visitor's email address.
- index: As the feedback list is limited to 20 per fetch, you can use this param to fetch the next set of feedbacks.
- limit: The number of feedbacks you would like to receive (The default limit is 20.)
- ratings: To fetch the ratings given by the visitor (happy/neutral/sad)
OAuth Scope:
SalesIQ.feedbacks.READ
URL:
Copiedhttps://{[zohosalesiq_server_uri](https://www.zoho.com/salesiq/help/developer-section/rest-api-v2.html)}/api/v2/{screenname}/feedbacks
Example
Copiedhttps://salesiq.zoho.com/api/v2/zylker/feedbacks
Sample Response
Copied{
"url": "/api/v2/zylker/feedbacks",
"object": "feedback_list",
"data": [
{
"visitor": {
"name": "John Doe",
"email_id": "john@zylker.com"
},
"conversation": {
"id": "2198149928649537906",
"thread_id": "388",
"mode": "chat"
},
"start_time": "1549029519413",
"end_time": "1549029539262",
"question": "Can I have any discounts for these shoes?",
"feedback": "Nice to speak to you",
"ratings": happy,
"attender_id": "343274000000002001",
"department_id": "343274000000863001",
"average_response_time": "6000"
},
{
"visitor": {
"name": "Smith",
"email_id": "smith@zylker.com"
},
"conversation": {
"id": "2198149928649537907",
"thread_id": "344",
"mode": "chat"
},
"start_time": "1549030519413",
"end_time": "1549030539262",
"question": "Can I have any discounts for these apparels?",
"feedback": "Nice to speak to you",
"rating": happy,
"attender_id": "343274000000002003",
"department_id": "343274000000863003",
"average_response_time": "4000",
"support_ticket_id": "234556"
}
]
}