Update Website Call Window Configurations
Description
You can use this API to update the call configurations.
URL
Copiedhttps://salesiq.zoho.com/api/v2/{screen name}/apps/{app id}/website/components/callExample
Copiedhttps://salesiq.zoho.com/zylker-inc/apps/32180000000014001/website/components/callPayload
Copied{
"use_default_color": "true",
"feedback": {
"is_enabled": "false",
"message": "feed"
},
"show_operator_image": "true",
"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."
},
"color": "#238de9",
"theme": "2",
"agents_busy": {
"response": "Thanks for your message, We'll get back to you shortly",
"message": "All our operaters are busy, please leave us a message and we'll get back shortly."
},
"show_company_logo": "false"
}Success Response
Copied{
"url": "/api/v2/zylker-inc/apps/51841000003484047/website/components/call",
"object": "callwindow",
"data": {
"use_default_color": "true",
"modified_time": "1525712030419",
"feedback": {
"is_enabled": "false",
"message": "feed"
},
"show_operator_image": "true",
"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."
},
"color": "#238de9",
"theme": "2",
"fields": [
{
"name": "Name",
"visibility": "3",
"maxlength": "30",
"is_enabled": "true",
"hint": "Enter your name",
"index": 0,
"is_mandatory": "false",
"type": "text",
"is_predefined": "true"
},
{
"name": "Email Address",
"visibility": "3",
"maxlength": "30",
"is_enabled": "true",
"hint": "Enter your email",
"index": 1,
"is_mandatory": "false",
"type": "text",
"is_predefined": "true"
},
{
"name": "Phone",
"visibility": "3",
"maxlength": "30",
"is_enabled": "true",
"hint": "Enter your phone number",
"index": 2,
"is_mandatory": "false",
"type": "text",
"is_predefined": "true"
}
],
"agents_busy": {
"response": "Thanks for your message, We'll get back to you shortly",
"message": "All our operaters are busy, please leave us a message and we'll get back shortly."
},
"show_company_logo": "false"
}
}