question

marc emmons avatar image
marc emmons asked ·

Detect when a user receives an SMS message?

Hi - Is there a way to detect when a user gets an SMS message so I call call the SMS API ?

sms
1 |1500 characters needed characters left characters exceeded

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 ·

Check this out
- Using PubNub notification

- Using Webhooks notification

When using PubNub or Webhooks, subscribe for he following event filters:

- Instant Message Event - event for each message, including body text

- Message Event - returns number of new messages

Also check the SMS API Tutorial

1 |1500 characters needed characters left characters exceeded

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