Update IOS SDK Call Window

Description

You can use this API to update the call window of your IOS SDK.

URL

Copiedhttps://salesiq.zoho.com/api/v2/{screen name}/apps/{app id}/ios/components/call

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylker-inc/apps/32180000000014001/ios/components/call

Payload

Copied{
  "feedback": {
    "is_enabled": "false",
    "message": "Submit your feedback"
  },
  "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."
  }
}

Success Response

Copied{
  "url": "/api/v2/zylker-inc/apps/51841000003484047/ios/components/call",
  "object": "callwindow",
  "data": {
    "feedback": {
      "is_enabled": "false",
      "message": "Submit your feedback"
    },
    "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."
    },
    "modified_time": "1525715243902"
  }
}