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

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

Ring Central - What Is Glip?

Ring Central - What Is Glip?

In my last post, I showed you how to create a Glip team. You're probably wondering what Glip is and what you can use it for. Great question! Glip is team...

Ring Central - Create A Glip Team

Ring Central - Create A Glip Team

In my last post, I showed you how to make a voice call with Java and Ring Central. In this post, I'll show you how to create your first Glip team. If you...

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!