POST
/
apps
/
{appId}
/
extensions
/
sms-notification
/
v1
/
settings
SMS Notification Store settings
curl --request POST \
  --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
    }
  }
}

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

appId
string
required

AppID in which the extension has to be enabled/disabled

Body

application/json

Response

200 - application/json

Store SMS Notification Settings

The response is of type object.