recursive.codes

recursive.codes

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

Bridging MQTT and Oracle Streaming Service (OSS) with Node.js

Bridging MQTT and Oracle Streaming Service (OSS) with Node.js

Recently, we've been taking a dive into messaging. In the last post, we talked about creating a messaging "bridge" so that we could consume an incoming...

Running Database Queries With REST via a Database Tools Connection (IE: The Super Easy Way)

Running Database Queries With REST via a Database Tools Connection (IE: The Super Easy Way)

I recently blogged about a brand-new service in the Oracle Cloud - Database Tools. It's a safe, secure way to store your database credentials in the...

Easy and Secure Oracle Database Connections With Database Tools

Easy and Secure Oracle Database Connections With Database Tools

There's a brand new tool in town, and it's ready to make your life a whole lot easier if you work with Oracle DB in the cloud. It's called "Database Tools...

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!