question

Kumar avatar image
Kumar asked Phong Vu answered

Getting SMS in javascript with js sdk

I am currently looking into JavaScript sdk which the ringcentral provides. We have a requirement to retrieve the sms message with javascript.

Are there any ways we can leverage js sdk to get sms message in javascripts?

sms and text messaging
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban avatar image
Anirban answered

Yes there is javascript SDK which you can use in getting incoming SMS messages.

You can do it with combination of API and JavaScript SDK. There is RingCentral APIs which retrieve SMS from message store. To retrieve the new SMS message, you need to call the message-store endpoint .

Similar question is answered here:

https://forums.developers.ringcentral.com/questions/220/can-you-use-javascript-sdk-to-read-incoming-sms-me.html

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Chaitali avatar image
Chaitali answered

We had the same requirement, we use the API call to retrieve the new SMS message, calling the message-store endpoint via the API. We then integrated these with our web platform.

We used "dateFrom" and "dateTo" filter of the API to filter the message

ref: https://developers.ringcentral.com/api-reference/Message-Store/listMessages

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered

This quick start provides you with ready codes in several programming languages to read the message store.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys