Skip to main content
Solved

Account-wide SMS Notification; Troubleshooting Permissions

  • July 18, 2025
  • 1 reply
  • 26 views

  • New Participant
  • 4 replies

Hi,

I saw in this thread that there’s no account-wide SMS notification event. I set up my event filters as per the thread - thanks ​@PhongVu for that! But you mentioned that you need to login with SuperAdmin credentials. I think I’m running into an error that relates to that.

I had my boss help me setup the application, since he’s logged in under the Owner account with SuperAdmin permissions. I had him check off every single scope that didn’t require approval, so I’m almost certain that ‘ReadMessages’ was included in the scopes, but I messaged him to help me verify.

I used the client ID & secret from the application he set up, and then also switched the JWT to the owner account too. I saw when I switched the JWT from mine to the Account Owner’s that the ‘owner_id’ returned by RC during my auth flow switched over to his user ID as well.

So it feels to me like everything should be good? I thought about trying the 3-legged OAuth flow instead but I don’t really think that’s the issue, so I figured I’d check with the experts. 
 

JSON response from trying to setup my account-wide SMS event is below:

{
"filter": 
"/restapi/v1.0/account/~/extension/109/message-store/instant?type=SMS",
"reason": 
"SUB-412",
"message": 
"Extension permission [ReadMessages] is missing"
},
{
"filter": 
"/restapi/v1.0/account/~/extension/102/message-store/instant?type=SMS",
"reason": 
"SUB-412",
"message": 
"Extension permission [ReadMessages] is missing"
},
{
"filter": 
"/restapi/v1.0/account/~/extension/103/message-store/instant?type=SMS",
"reason": 
"SUB-412",
"message": 
"Extension permission [ReadMessages] is missing"
},
{
"filter": 
"/restapi/v1.0/account/~/extension/108/message-store/instant?type=SMS",
"reason": 
"SUB-412",
"message": 
"Extension permission [ReadMessages] is missing"
},
{
"filter": 
"/restapi/v1.0/account/~/extension/104/message-store/instant?type=SMS",
"reason": 
"SUB-412",
"message": 
"Extension permission [ReadMessages] is missing"
}
],
"expirationTime": 
"2035-07-16T22:13:18.279Z",
"expiresIn": 
315359998,
"deliveryMode": 
{
"address": 
"{{MY WEBHOOK ADDRESS}}",
"transportType": 
"WebHook",
"encryption": 
false
}
}
]

 

Best answer by mh550

So support helped me solve: this was an error with me passing in the extensionNumber rather than the extension’s Id. Oops! But that’s what was wrong if anyone has a similar issue.

View original
Did this thread help you find an answer to your question?

1 reply

  • Author
  • New Participant
  • 4 replies
  • Answer
  • July 22, 2025

So support helped me solve: this was an error with me passing in the extensionNumber rather than the extension’s Id. Oops! But that’s what was wrong if anyone has a similar issue.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings