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
How do I send an SMS from the main company number?
Tags: sms and text messaging
Jul 11, 2022 at 3:15pm   •   2 replies  •  0 likes
Ben Grombala

I am able to send a SMS from my individual user number, but I cannot figure out how to send a SMS from my main business number. I also sent a text to my business number and it did not show up anywhere.

2 Answers
answered on Jul 12, 2022 at 5:47pm  

opext.png

Thank you for your response. I am the only user and am listed under General IVR Settings and I still do not have the option to send texts from the main company number. I have no idea how to use code.


 0
on Jul 13, 2022 at 7:06am   •  0 likes

Is that your sandbox account or your production account? What is the main company number? For the code, it is a sample code in Node JS, using the RingCentral JS SDK.

You said that you were able to send a SMS from your individual user number, how did you send it? Via API for via the RC app? Last question, are you a developer?

on Jul 13, 2022 at 7:44am   •  0 likes

Ignore my previous question about your account. I found your production account and the main company number ends xxx yyy-5533.

Both direct number and main company number are SMS enabled. So my question is how did you send SMS? Are you using the SMS API or are you using the RingCentral app?

on Jul 13, 2022 at 6:55pm   •  0 likes

I now have the option to send texts from my main number! Not sure what changed but it now works. Thank you!

answered on Jul 12, 2022 at 7:42am  

Login your account service web with a super admin user, choose the Phone System tab and select the Auto-receptionist menu and change the IVR general settings by select the extension you want to send/receive text messages to/from the main company number. Authenticate your app with that user to send text messages.

screen-shot-2022-07-12-at-73436-am.png


You can always double check if the selected extension has the right to send SMS from the main company number by using this code. E.g.

async function detect_p2p_sms_feature(){
  try{
    var resp = await platform.get("/restapi/v1.0/account/~/extension/~/phone-number")
    var jsonObj = await resp.json()
    for (var record of jsonObj.records){
      if (record.usageType == "MainCompanyNumber"){
        for (feature of record.features){
          if (feature == "SmsSender" || feature == "MmsSender"){
              console.log(`This number ${record.phoneNumber} is a P2P SMS number`)
          }
        }
      }
    }
  }catch(e){
    console.log(e.message)
  }
}

 0



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