Path Parameters
AppID in which the extension has to be enabled/disabled
Body
application/json
Response
200 - application/json
Update SMS Notification Settings
curl --request PUT \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/sms-notification/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "fromMobileNo": "+12345678",
    "messageDelay": 60,
    "twilioAccountSid": "ACfe6cccc530a5151a8eff415###",
    "twilioAuthToken": "6928f0cadd4e62d4311234563ef3###",
    "websiteURL": "www.somewebsite.com"
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "success": true
    }
  }
}SMS Notification : Update the settings for SMS Notification extension.
curl --request PUT \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/sms-notification/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "fromMobileNo": "+12345678",
    "messageDelay": 60,
    "twilioAccountSid": "ACfe6cccc530a5151a8eff415###",
    "twilioAuthToken": "6928f0cadd4e62d4311234563ef3###",
    "websiteURL": "www.somewebsite.com"
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "success": true
    }
  }
}AppID in which the extension has to be enabled/disabled
Show child attributes
Update SMS Notification Settings
Show child attributes
Was this page helpful?