I just have a quick question about the process of setting up Web Hooks for a new company. Does the first person with an organization that links a ring central account, which then registers a webhook with our integration, does this person need to be an admin? I ask this because an issue I am encountering when testing with our prod credentials is that 'you lack the permissions. please reach out to admin to get the required permissions...', something along those lines.
When we distribute this integration, is every company going to need to go through their ring central account and give permissions to all employees? Or is it something that just needs to be done by admin first and that process 'gives the green light' to subsequent employees?
Thanks again for all of your time and effort Phong!
No, you don't need to first nor later to subscribe for webhook notifications by am admin user. But it really depends on what notification filter do you subscribe for and based on the filter, you may need an admin credentials. E.g. to subscribe for other extensions instant SMS notification, you need an admin user credentials to do so.
Is this error based on the fact that I am trying to use my sandbox creds against the prod API?
Looks like it. But did you try to login the service web or authorize your app?
This is the guidance:
For sandbox:
Login service web at https://service.devtest.ringcentral.com
Login platform at https://platform.devtest.ringcentral.com
Must be login with a user under the sandbox account
For production:
Login service web at https://service.ringcentral.com
Login platform at https://platform.ringcentral.com
Must be login with a user under the production account
So, our Oauth and web hook flow currently is using prod routes, client_id, and client_secret, but when we try to run the process of creating the web hook with the username and passwords we have in this location https://service.devtest.ringcentral.com/application/users/users/default
even though the credentials we are using both have superAdmin permissions, we get that not authorized error
That is the problem. You cannot login production with sandbox user credentials.
Do we need to pay for a Ring Central account to test in prod?
Yes. And the app must be a public app. Or you can ask your customer to try it.
Got everything sorted Phong. Just wanted to say thanks again to you. You are a legend and hopefully Ringcentral knows this.
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder