Question

Error sending SMS from a different extension

  • 5 September 2018
  • 3 replies
  • 608 views

When trying to send an SMS message from a different extension I get the following err:


{


"errorCode" : "FeatureNotAvailable",

"message" : "In order to call this API endpoint for another extension, user needs to have [OutboundSMS] permission granted with extended scope",

"errors" : [ {


"errorCode" : "CMN-419",

"message" : "In order to call this API endpoint for another extension, user needs to have [OutboundSMS] permission granted with extended scope",

"permissionsName" : "OutboundSMS"

} ],

"permissionsName" : "OutboundSMS"

}


How do I set the permission for the user as described in the error message?


3 replies

The error message is misleading. The root cause is: you are not allowed to send SMS on behalf of others.

If you want to send SMS from a different extension, you need to do authorization using that extension.

Reviving this old thread to find out - is this limitation still true? Seems like there are a great many obvious use cases for allowing the admin account to send on behalf of extensions via the API.

Userlevel 1

The limitation remains the same. You cannot send SMS on behalf of others.

Reply