Skip to product menu
Skip to main content

Update Android channel

Description

This API can be used to update the details in the channel.

Requested Payload:

  • enabled - The key indicates if the channel is enabled or not.

OAuth Scope:

SalesIQ.apps.UPDATE

URL

Copiedhttps://{zohosalesiq_server_uri}v/api/v2/{screenname}/apps/{app id}/channels/android

Example

Copiedhttps://salesiq.zoho.com/api/v2/zylker-inc/apps/80000000007001/channels/android

Payload

Copied{
        "enabled" : true
}

Sample Response

Copied{
  "url": "/api/v2/zylker-inc/apps/80000000007001/channels/android",
  "object": "android",
  "data": {
    "enabled": true,
    "modified_time": "1544727841705",
    "creator": {
      "name": "Patricia",
      "id": "12000000000005"
    },
    "app_key": "CCZEg1uZCQuPut7ZbXERxR82P6TJbeZwJ1LMIHAv8VOIJpzW7OAw79eAgDM73k62gCtighj%2Br4DiBmbE0Fw4dxHIxDDbpfT0s1ksZQwfmvRRPjQTcttbNw%3D%3D",
    "access_keys": [
      {
        "version": "1",
        "enabled": true,
        "key": "vlTzlvd0nKRbaXOwaMrUP4MBAZ5UeRqOzG82z8cegRbq9vCe%2FkLcUIfY56zdrgKDrSFivkHL7KOARji4XcpgQefw9QTskVTI6YjH3DeNl41g0tQxzmquYQO1ga1%2B37xc1knJ01kFb2TLAVUtGxdnDUjxOCF8yMsb5%2BBuKN7WFTpTs%2BIBlUYNoLPSZK%2FbHDVv",
        "uuid": "a501a011-7c5c-4f26-9adc-b9e065c96b6d",
        "creator": {
          "name": "Patricia",
          "id": "12000000000005"
        },
        "created_time": "1544727841461"
      }
    ],
    "bundle_name": "com.mobile.zylker",
    "components": [
      "proactive",
      "chat",
      "faq",
      "call"
    ],
    "created_time": "1544727841705",
    "notifications": {
      "password": "",
      "enabled": false
    },
    "bundle_id": "12000000023001",
    "code": "c5b877106f5e58059556c2e687ebba44d317a14d4428fccd3d58cc1c1e308ed8",
    "app_name": "Eleven",
    "test_devices": {
      "production": [
        {
          "mobileid": "a11d1df0-db99-11e9-ad49-5254003beee7",
          "user_id": "$2456496379943531700",
          "model": "Google",
          "name": "Visitor 91515"
        }
      ]
    }
  }
}