Skip to main content
Solved

how to read message that is send to sandbox

  • March 31, 2021
  • 2 replies
  • 694 views

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?

Best answer by PhongVu

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

2 replies

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • Answer
  • March 31, 2021

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.