question

Josh Grenus avatar image
Josh Grenus asked Phong Vu answered

Is it possible to print SMS messages using the API?

I'm trying to automate the sending/receiving of SMS messages, is there anyway to get an SMS body and print it out. Heres what I have so far,

Screenshot 2023-08-14 150338.png

ideally it would print out the message in between the equal signs.

Thanks!

sms 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

Here you go

jsonObj = resp.json()
for record in jsonObj.records:
    print (record.subject)
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