curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/sms-notification/v1/settings \
--header 'key: <key>' \
--header 'secret: <secret>'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"fromMobileNo": "+123456790",
"messageDelay": 60,
"twilioAccountSid": "ACfe6c12T1G2bc530a5151a8eff4155386",
"twilioAuthToken": "6928f0cadd4e6Ag2d431957a7f3a563ef3",
"websiteURL": "somemail.com",
"appId": "10419c123124"
}
}
}
}
}
SMS Notification : Get settings for SMS Notification extension.
curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/sms-notification/v1/settings \
--header 'key: <key>' \
--header 'secret: <secret>'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"fromMobileNo": "+123456790",
"messageDelay": 60,
"twilioAccountSid": "ACfe6c12T1G2bc530a5151a8eff4155386",
"twilioAuthToken": "6928f0cadd4e6Ag2d431957a7f3a563ef3",
"websiteURL": "somemail.com",
"appId": "10419c123124"
}
}
}
}
}
AppID in which the extension has to be enabled/disabled
Get SMS Notification Settings
The response is of type object
.