January Tidbits

SMS Questions Answered

You've got SMS questions; We've got Answers!

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
1 |1000

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

Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary 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 |1000

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 |1000

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 |1000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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