News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Send SMS from User Phone number and extension not only Main company number and extension.
Tags: get token, sending sms
Nov 26, 2021 at 3:59am   •   1 replies  •  0 likes
Benny Dadon

I'm trying to integrate RingCentral API in C# for sending SMS or MMS. So I read documentation according to the documentation I create an APP in the console. APP security type is password base. I send SMS by using username, extension, and password. SMS send successfully. Now I create other users from the admin panel of RingCentral then every user has their phone number and extension so if any user login from my C# web app and tries to send SMS from his number and extension then an error is shown.

"error_description" : "Invalid resource owner credentials"


I found a solution that says bootstrap your APP set a static password for all extensions.

So how bootstrap APP?

1 Answer
answered on Nov 28, 2021 at 11:37am  

You cannot do that with password flow authentication. In your case, you have to implement 3-legged authentication so that each user can login your app with their own credentials (username and password), which will then allow them to send SMS from their own number.


 0
on Dec 1, 2021 at 6:48am   •  0 likes

We have our CRM which is developed in asp.net core. Now we want to integrate RingCentral with our CRM so all users of RingCentral can send or receive SMS, MMS, and Fax from CRM.
So in the start, I create an app in the console which only allowed to send SMS from the main company number, not from all user's numbers.
After this, I create a 3 legged authorization app so every user can easily get tokens.

1638353743208.png

1638353579410.png

1638353633603.png

That's a new App that I create so every user can send SMS and other operations. So I face an error when I log in from the primary contact email then the token is generated otherwise error show Sorry, we don't recognize your email address.

1638353916995.png

Even this email is registered for one user.

1638354028604.pngIf I open user detail then invozeal@gmail is shown under the email section.

1638354129417.png

If I try to log in from the contact person's phone number then shows the password is not correct even I update the password but can't log in.

So how my all user list can be login and send SMS from their phone number??

on Dec 1, 2021 at 11:19am   •  0 likes

This is a complete different issue. I see you created a new thread so let's look at the problem in that thread.

Do not change the question/topic which is not described in the original question to keep the question/answer clean.

on Dec 1, 2021 at 10:31pm   •  0 likes

Oky thanks



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us