Path Parameters
AppID in which the extension has to be enabled/disabled
Body
application/json
Response
200 - application/json
Update Intercom Settings
curl --request PUT \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/intercom/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "intercomAccessToken": "EgsDdxRZFUy4tPWDjwmyZvYk",
    "customerSupportUid": "superhero2"
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "appId": "212663ddb7a2a65a",
          "customerSupportUid": "superhero2",
          "intercomAccessToken": "EgsDdxRZFUy4tPWDjwmyZvYk",
          "webhookURL": "https://intercom-eu.cometchat.io/v1/reply?token=8z2Yn1R2hEVmpENi7HA1pPAv0DfZvMPFT8SBSaRJgwk=eyJhcHBJZCI6IjIxMjY2M2RkYjdhMmE2NmIifQ=="
        }
      }
    }
  }
}Intercom : Update the settings for Intercom extension
curl --request PUT \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/intercom/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "intercomAccessToken": "EgsDdxRZFUy4tPWDjwmyZvYk",
    "customerSupportUid": "superhero2"
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "appId": "212663ddb7a2a65a",
          "customerSupportUid": "superhero2",
          "intercomAccessToken": "EgsDdxRZFUy4tPWDjwmyZvYk",
          "webhookURL": "https://intercom-eu.cometchat.io/v1/reply?token=8z2Yn1R2hEVmpENi7HA1pPAv0DfZvMPFT8SBSaRJgwk=eyJhcHBJZCI6IjIxMjY2M2RkYjdhMmE2NmIifQ=="
        }
      }
    }
  }
}AppID in which the extension has to be enabled/disabled
Show child attributes
Update Intercom Settings
Show child attributes
Was this page helpful?