recursive.codes


The Personal Blog of Todd Sharp

Ring Central - Sending an MMS With Node.JS

Posted By: Todd Sharp on 2/21/2020 6:11 GMT
Tagged: APIs

I previously showed you how to create and send an SMS using Ring Centraland Node.JS, but in this post I want to show you how to send an MMS. It's pretty similar to the previous example, but there are a few differences that I wanted to point out.

Note: There is a combined limit of 1.5M bytes for all attachments and a limit of 10 attachments for any request.

The full process is well documented on their developer portal. The first step is to pull in the modules and create an instance of the SDK object and platform:

Next, login to the platform (using your own credentials):

Now in the login callback, create the MMS body, construct a new FormData object that includes the file that you want to post to the MMS recipient and post the form!

And that's all it takes to send an MMS with Java and Ring Central!

Image by cocoparisienne from Pixabay



Related Posts

Cloud Deck: Automating and Retrieving Info From Your Cloud Tenancy With a Simple Microcontroller

Cloud Deck: Automating and Retrieving Info From Your Cloud Tenancy With a Simple Microcontroller

Last month, I discovered a really cool project called Stream Cheap that is an inexpensive, DIY version of the wildly popular Stream Deck...

Can You Invoke OCI REST APIs Directly from an Arduino (ESP-32)?

Can You Invoke OCI REST APIs Directly from an Arduino (ESP-32)?

Recently I had a flash of inspiration to build a standalone project on a microcontroller that would invoke OCI APIs directly from the device. I’ve played...

Sending & Receiving SMS In Your Node-RED Flows With Ring Central

Sending & Receiving SMS In Your Node-RED Flows With Ring Central

As you can tell if you've been reading my blog lately, I've been spending some time playing with Ring Central. One of the use cases that I've mentioned...

Note: Comments are currently closed on this blog. Disqus is simply too bloated to justify its use with the low volume of comments on this blog. Please visit my contact page if you have something to say!