SlideShare a Scribd company logo
Anirban Sen Chowdhary
Mule 4 connecting RingCentral
RingCentral as we all familiar with, deals with different kind of APIs that
offers reliable VoIP calling, web meetings, fax, & more features over
cloud communication.
Mulesoft on other hand provides the most widely used integration
platform to help businesses connect data, applications and devices
across on-premises and cloud environment.
The most recent version of Mulesoft is Mule version 4 or simply called
Mule 4 which simplifies the expression language and reduces
management complexity compared to it's previous versions.
In this blog we will see a simple demo of Mule 4 connecting RingCentral
APIs. We will connect RingCentral send SMS API with Mule 4 and will
try to send SMS from Mule 4 application.
Mule 4 has a great improvement compared to it's previous versions
that includes many features like:
• Seamless access to data with new expression
• Repeatable streaming which is a new feature
• New error handling features
• Self-tuning capabilities like threading, exchange pattern etc
• New connectors
Before we start, we know that the RingCentral API for sending SMS is:
POST
https://platform.devtest.ringcentral.com/restapi/v1.0/account/accou
ntId/extension/extensionId/sms
The request for the API is in below format:
Let's start by creating a new application in Mule 4 as below:
Once the application is created, we will create a following flow with a
Http listner, a payload transformer that will transform every incoming
payload request into json mime type followed by a Http request
component which will call the external RingCentral send SMS API as
below:
Next step is to configure the Http request element which will consume
and call RingCentral send SMS API as below:
If you noticed, we have configured with RingCentral platform with Http
protocol as HTTPS and port 443.
Then we configured the flow HTTP component with RingCentral send
SMS url base path:
Configuring Authentication
The last step before we call the RingCentral send SMS API via Mule 4
application, we need to configure the Authentication part as every
RingCentral API is secured with Oauth.
We will design a sub flow, that will call RingCentral Authorization API
and generate the access_token (Since RingCentral Create SMS API is
secured by Oauth and access_token is needed to send the SMS) as
below:
Here in this sub flow also have a Http component that calls RingCentral
Authorization API and collect the access_token in a variable. This
access_token variable will be internally pass to RingCentral Create SMS
API when we call that in our main flow (SendSMS).
The Http component for Oauth token call is configured below with
RingCentral Authentication API url:
The input request of RingCentral Authentication API to get
access_token is as below:
In the main flow, we call this Oauth sub flow before we call RingCentral
send SMS API to get the access_token and send the SMS text as below
via flow reference:
The access_token will be passed via header in the Http component:
Once we start the application, the application will be deployed and the
first step in the flow will be the RingCentral authentication API will be
called and once the access_token is collected in the variable, it's passed
in the main RingCentral send SMS API via header and the SMS is send!
We will see the testing of this application in the next part.
Mule 4 connecting ring central

More Related Content

PPTX
Can mule integrate with ring central
PPTX
Build and graduate your app in ring central
PPTX
Apache Ambari - What's New in 1.2.5
PPTX
API Proxy Auto Discovery
PDF
A 4 line login - line platform
PPTX
Mulesoft Salesforce Connector - OAuth 2.0 JWT Bearer
PPTX
Anypoint platform for api
PDF
Android HTTP Service
Can mule integrate with ring central
Build and graduate your app in ring central
Apache Ambari - What's New in 1.2.5
API Proxy Auto Discovery
A 4 line login - line platform
Mulesoft Salesforce Connector - OAuth 2.0 JWT Bearer
Anypoint platform for api
Android HTTP Service

What's hot (18)

PPTX
Apply Rate Limiting Policy
PPTX
Best Practices for API Security
PPT
Asp.net internal architecture
PPTX
Forcelandia 2018 - Create lively lightning components with streaming api
PPT
Download PowerPoint Presenation
PPTX
Web service, wcf, web api
PPTX
Mule Anypoint API Gateway
PPTX
Anypoint Platform Deployment Strategies
PPTX
Mule api management
PPTX
HTTP Services & REST API Security
PPT
OpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapter
PPTX
Mule esb stripe
PPTX
Best way to Deploy a Mule ESB Application
PPTX
How to publish Open api 3.0 with SAP PO and KaTe RESTful adapter
PPTX
메시지 발송 브로커를 만들어보자
PDF
Android & Monkey Web Services
PPTX
Rate Limiting - SLA Based Policy
PDF
Securing Microservices with Istio
Apply Rate Limiting Policy
Best Practices for API Security
Asp.net internal architecture
Forcelandia 2018 - Create lively lightning components with streaming api
Download PowerPoint Presenation
Web service, wcf, web api
Mule Anypoint API Gateway
Anypoint Platform Deployment Strategies
Mule api management
HTTP Services & REST API Security
OpenAPI 2.0 with SAP PO / SAP PI & KaTe's RESTful adapter
Mule esb stripe
Best way to Deploy a Mule ESB Application
How to publish Open api 3.0 with SAP PO and KaTe RESTful adapter
메시지 발송 브로커를 만들어보자
Android & Monkey Web Services
Rate Limiting - SLA Based Policy
Securing Microservices with Istio
Ad

Similar to Mule 4 connecting ring central (20)

PDF
How to Connect to Any REST API with No-Code
PDF
How to Connect to Any REST API with No-Code
PDF
Web Connections & Services in FME Webinar
PDF
Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...
PDF
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
PDF
A Practical Guide to Automating End-to-End API Testing
PPTX
Secure Coding: SSL, SOAP, and REST
PPTX
Web application in mule to send ring central sms
PPTX
Rest web services
PPTX
Apache con@home 2021_sha
PDF
Simplify QA Automation: Master API Testing with HTTPClient in C#
PPTX
Is authorization always needed for sms messages in ringcentral-api
PDF
How to use Informatica Power Center as a RESTful Web Service Client?
PPT
Session 1: The SOAP Story
PPTX
Api security
PDF
SoftLayer API 12032015
PPTX
Managing Identities in the World of APIs
PDF
API Force Presentation
PDF
Webapp security (with notes)
PPTX
APIs_ An Introduction.pptx
How to Connect to Any REST API with No-Code
How to Connect to Any REST API with No-Code
Web Connections & Services in FME Webinar
Web Connections & Services in FME: Tips & Tricks to Setting Up and Harnessing...
CCICI CIP 1.0 Testbed - Security access implementation and reference - v1.0
A Practical Guide to Automating End-to-End API Testing
Secure Coding: SSL, SOAP, and REST
Web application in mule to send ring central sms
Rest web services
Apache con@home 2021_sha
Simplify QA Automation: Master API Testing with HTTPClient in C#
Is authorization always needed for sms messages in ringcentral-api
How to use Informatica Power Center as a RESTful Web Service Client?
Session 1: The SOAP Story
Api security
SoftLayer API 12032015
Managing Identities in the World of APIs
API Force Presentation
Webapp security (with notes)
APIs_ An Introduction.pptx
Ad

More from Anirban Sen Chowdhary (20)

PPTX
Change the game with Game changer
PPTX
Ring central desktop app overview
PPTX
Overview in ringcentral digital line
PPTX
Some basics with ring central
PPTX
Ring central and python
PPTX
RingCentral application development overview
PPTX
Cloze connect ringcentral
PPTX
Overview on ring central errors part 4
PPTX
Setting up your ring central sandbox in steps
PPTX
Overview on ring central errors: part 2
PPTX
Overview on ring central errors
PPTX
Call recording overview ring central
PPTX
Ring central engaging with amazon alexa
PPTX
How ring central sdk changing the game
PPTX
When ring central connect salesforce
PPTX
Ring central sdk
PPTX
Ring central with okta
PPTX
Ring central connecting salesforce overview
PPTX
Ring central call logs overview (part 2)
PPTX
Call recording of ring central
Change the game with Game changer
Ring central desktop app overview
Overview in ringcentral digital line
Some basics with ring central
Ring central and python
RingCentral application development overview
Cloze connect ringcentral
Overview on ring central errors part 4
Setting up your ring central sandbox in steps
Overview on ring central errors: part 2
Overview on ring central errors
Call recording overview ring central
Ring central engaging with amazon alexa
How ring central sdk changing the game
When ring central connect salesforce
Ring central sdk
Ring central with okta
Ring central connecting salesforce overview
Ring central call logs overview (part 2)
Call recording of ring central

Recently uploaded (20)

PDF
Architecture types and enterprise applications.pdf
PPT
What is a Computer? Input Devices /output devices
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
1. Introduction to Computer Programming.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Getting Started with Data Integration: FME Form 101
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
project resource management chapter-09.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Architecture types and enterprise applications.pdf
What is a Computer? Input Devices /output devices
Web App vs Mobile App What Should You Build First.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
1. Introduction to Computer Programming.pptx
Hindi spoken digit analysis for native and non-native speakers
Assigned Numbers - 2025 - Bluetooth® Document
Getting Started with Data Integration: FME Form 101
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
WOOl fibre morphology and structure.pdf for textiles
OMC Textile Division Presentation 2021.pptx
Zenith AI: Advanced Artificial Intelligence
observCloud-Native Containerability and monitoring.pptx
NewMind AI Weekly Chronicles – August ’25 Week III
A comparative study of natural language inference in Swahili using monolingua...
project resource management chapter-09.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...

Mule 4 connecting ring central

  • 1. Anirban Sen Chowdhary Mule 4 connecting RingCentral
  • 2. RingCentral as we all familiar with, deals with different kind of APIs that offers reliable VoIP calling, web meetings, fax, & more features over cloud communication. Mulesoft on other hand provides the most widely used integration platform to help businesses connect data, applications and devices across on-premises and cloud environment.
  • 3. The most recent version of Mulesoft is Mule version 4 or simply called Mule 4 which simplifies the expression language and reduces management complexity compared to it's previous versions. In this blog we will see a simple demo of Mule 4 connecting RingCentral APIs. We will connect RingCentral send SMS API with Mule 4 and will try to send SMS from Mule 4 application.
  • 4. Mule 4 has a great improvement compared to it's previous versions that includes many features like: • Seamless access to data with new expression • Repeatable streaming which is a new feature • New error handling features • Self-tuning capabilities like threading, exchange pattern etc • New connectors
  • 5. Before we start, we know that the RingCentral API for sending SMS is: POST https://platform.devtest.ringcentral.com/restapi/v1.0/account/accou ntId/extension/extensionId/sms The request for the API is in below format:
  • 6. Let's start by creating a new application in Mule 4 as below:
  • 7. Once the application is created, we will create a following flow with a Http listner, a payload transformer that will transform every incoming payload request into json mime type followed by a Http request component which will call the external RingCentral send SMS API as below:
  • 8. Next step is to configure the Http request element which will consume and call RingCentral send SMS API as below:
  • 9. If you noticed, we have configured with RingCentral platform with Http protocol as HTTPS and port 443. Then we configured the flow HTTP component with RingCentral send SMS url base path:
  • 10. Configuring Authentication The last step before we call the RingCentral send SMS API via Mule 4 application, we need to configure the Authentication part as every RingCentral API is secured with Oauth. We will design a sub flow, that will call RingCentral Authorization API and generate the access_token (Since RingCentral Create SMS API is secured by Oauth and access_token is needed to send the SMS) as below:
  • 11. Here in this sub flow also have a Http component that calls RingCentral Authorization API and collect the access_token in a variable. This access_token variable will be internally pass to RingCentral Create SMS API when we call that in our main flow (SendSMS). The Http component for Oauth token call is configured below with RingCentral Authentication API url:
  • 12. The input request of RingCentral Authentication API to get access_token is as below:
  • 13. In the main flow, we call this Oauth sub flow before we call RingCentral send SMS API to get the access_token and send the SMS text as below via flow reference:
  • 14. The access_token will be passed via header in the Http component: Once we start the application, the application will be deployed and the first step in the flow will be the RingCentral authentication API will be called and once the access_token is collected in the variable, it's passed in the main RingCentral send SMS API via header and the SMS is send! We will see the testing of this application in the next part.