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
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
}
}
]