question

Ashlesha Shirodkar avatar image
Ashlesha Shirodkar asked Anirban answered

how to read message that is send to sandbox

I am able to successfully send a SMS using sandbox. How can i read a message that was send to sandbox?

Its a 2 way communication.

Is there a endpoint url or i need to use Webhooks for this?

getting started
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.

Phong Vu avatar image
Phong Vu answered

You can
- Read the message store

- Read a particular message by message id

- Use PubNub o Webhook notification to receive instant SMS message

+ PubNub example

+ Webhook example

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.

Anirban avatar image
Anirban answered

Easiest way is to use message store API to fetch message content.

example: ReadMessage API using message id or GetMessage API or even GetMessageContent API can be used to get SMS messages. You can also build your custom interface around these APIs to display them.

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