Update IOS SDK Chat Window
Description
You can use this API to update the IOS SDK chat window.
URL
Copiedhttps://salesiq.zoho.com/api/v2/{screen name}/apps/{app id}/ios/components/chatExample
Copiedhttps://salesiq.zoho.com//api/v2/zylker-inc/apps/32180000000014001/ios/components/chatPayload
Copied{
"feedback": {
"is_enabled": "true",
"message": "ffed"
},
"rating": {
"1_star": "We're sorry for your experience you faced, we will reach you as soon as possible and resolve this.",
"is_enabled": "true",
"5_star": "Great! thanks for your feedback.",
"4_star": "Thank you, please share your feedback on how to improve.",
"3_star": "Thank you! We'll reach you soon and help out.",
"2_star": "We're sorry for your experience you faced, we will reach you as soon as possible and resolve this."
},
"language": "default",
"allow_visitors_to_view_conversation": "false",
"allow_bot": "true",
"allow_visitors_to_mail_transcript": "false",
"allow_visitors_to_share_file": "false",
"show_emojis": "false"
}Success Response
Copied{
"url": "/api/v2/zylker-inc/apps/32180000000014001/ios/components/chat",
"object": "chat",
"data": {
"modified_time": "1524149547072",
"feedback": {
"is_enabled": "false",
"message": "Submit your message here"
},
"rating": {
"1_star": "We're sorry for your experience you faced, we will reach you as soon as possible and resolve this.",
"is_enabled": "true",
"5_star": "Great! thanks for your feedback.",
"4_star": "Thank you, please share your feedback on how to improve.",
"3_star": "Thank you! We'll reach you soon and help out.",
"2_star": "We're sorry for your experience you faced, we will reach you as soon as possible and resolve this."
},
"language": "default",
"allow_visitors_to_view_conversation": "false",
"allow_bot": "true",
"allow_visitors_to_mail_transcript": "false",
"allow_visitors_to_share_file": "false",
"show_emojis": "false"
}
}