question

Aryan Maloo avatar image
Aryan Maloo asked Phong Vu answered

Receiving SMS using APIs

Hi Everyone,

I am using RingCentral APIs to build an application where I want to catch received SMS on an extension number. I have a few questions, they are as follows:

  1. How can we catch the replies to the SMS sent from the system using APIs?
  2. Can we send metadata when sending SMS using APIs?
  3. How to identify which SMS the user replied to?

Any help is appreciated.

Thanks

rest apisms 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.

1 Answer

Phong Vu avatar image
Phong Vu answered

1. Read this Dev guide and see the sample code for implementing your Webhook to receive instant inbound SMS messages.

2. No, no custom metadata can be attached to a SMS message

3. Your question is vague. But SMS is a flat conversation, inbound and outbound. You can use the message time stamp to define a replied message but there is no guarantee. Read this Dev guide to learn about 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