SlideShare a Scribd company logo
Anirban Sen Chowdhary
Messaging APIs of RingCentral
RingCentral deals with different kind of APIs that offers reliable VoIP
calling, web meetings, fax, & more features over cloud communication
with reliability, security, and quality .
In this blog we will discuss about different APIs related to SMS and
messaging and it’s various status.
As we already seen in our previous posts, we can start by logging into
our RingCentral developer portal and need to do is create a new
application by hitting the CreateApp button in right top:
Following details need to be provided:
• Application Name: The name of your app.
• Organization Name: The name of your organization.
• Description: Any text describing your app and should contain
minimum 20 characters.
We have choose Desktop (Mac/Windows/Other) and authorization
includes password flow in above image. Once the API created, we can
see the details like client id, client secret etc in the dashboard:
Testing API via postman
Creates and sends a new message: You can send SMS messages
simultaneously to different recipients up to 50 requests per minute.
The API for sending SMS is:
POST
https://platform.devtest.ringcentral.com/restapi/v1.0/account/accou
ntId/extension/extensionId/sms
If you see the messageStatus here, you can it’s Queued:
• If status for at least one recipient is ‘Queued‘, then ‘Queued‘ value is
returned which means the message hasn’t reached the SMS provider.
If the SMS provider is temporarily unavailable, the message will be
‘Queued‘ and the carrier will continue to retry.
• Reading the message status: Every message we send has a message
id. We can read the message state by using the following API:
• GET https://platform.devtest.ringcentral.com/restapi/v1.0/account
/~/extension/~/message-store/<message id>
By this time, if you check the message state it will show ‘Delivered’ as
above, which means the message is reached the recipient.
If the mobile phone we are sending is switched off, the carrier will tries
to deliver within 48 hours and if unsuccessful then it will expires the
message and in that case we will get the status as ‘DeliveryFailed‘.
Deleting the message: We can use the same API and delete the
message. for example, now if we use DELETE method as follows:
DELETE https://platform.devtest.ringcentral.com/restapi/v1.0/accou
nt/~/extension/~/message-store/<message id>
The API has deleted the message from message store. It will not
provide any response.
Now if we do a GET and check the response we will see: availability is
‘Deleted‘ :
Message availability status. Message in ‘Deleted‘ state is still preserved
with all its attachments and can be restored.
Modifying readStatus of message: We can use the same API with PUT
method and can modify the readstatus of the message. There is
2 readStatus: Read, Unread
We can modify as below:
PUT https://platform.devtest.ringcentral.com/restapi/v1.0/account/~
/extension/~/message-store/<message id>
We see previous slide, we have modified the SMS readStatus into
unread.
If we go back to
the GET https://platform.devtest.ringcentral.com/restapi/v1.0/accou
nt/~/extension/~/message-store/<message id> and check
the readStatus of message we will get as below:
Listing Valid SMS Numbers: To determine which numbers a user can
use to send and receive SMS, retrieve the user’s list of phone numbers
from the extension/phone number endpoint and then filter by
numbers with the SmsSender and/or MmsSender feature.
Reading SMS Content: We can also read the actual message or SMS
content and can see what the user had send using following API:
GET https://platform.devtest.ringcentral.com/restapi/v1.0/account/~
/extension/~/message-store/<message id>/content/<attachment id>
Conclusion
So at the end we can see that RingCentral not only provide API to just send a
SMS message, but also provides APIs to get the SMS status, content and even
delete a SMS message, retrieve it, change it’d read status and so on. It
provides such a variety of features that we can actually control almost all the
messaging feature end to end.
We can integrate all these features of API in our application which can be a
web application or an android or even a standalone running in any
programming language either Java, PHP, javascript etc and control all the
messaging features at a single place!
We will discuss some more RingCentral APIs and it’s feature in next post.
Messaging APIs of RingCentral

More Related Content

What's hot

magento 2 mobile login extension
magento 2 mobile login extensionmagento 2 mobile login extension
magento 2 mobile login extension
MageComp
 
Csce 5580 001_s17_pa2
Csce 5580 001_s17_pa2Csce 5580 001_s17_pa2
Csce 5580 001_s17_pa2
Sandeep Ratnam
 
Login With External Accounts In Odoo
Login With External Accounts In OdooLogin With External Accounts In Odoo
Login With External Accounts In Odoo
Anisha Technaureus
 
How to integrate bulk sms api in java
How to integrate bulk sms api in javaHow to integrate bulk sms api in java
How to integrate bulk sms api in java
KAP Computer Solution Pvt Ltd
 
Mail server
Mail serverMail server
Mail server
nadimsajib
 
MarvelSoft SchoolAdmin Offline LAN Access Setup Guide
MarvelSoft SchoolAdmin Offline LAN Access Setup GuideMarvelSoft SchoolAdmin Offline LAN Access Setup Guide
MarvelSoft SchoolAdmin Offline LAN Access Setup Guide
Ranganath Shivaram
 
RapidResponse Autoresponder Quick Start Guide Pictorial
RapidResponse Autoresponder Quick Start Guide Pictorial RapidResponse Autoresponder Quick Start Guide Pictorial
RapidResponse Autoresponder Quick Start Guide Pictorial
Phil Eugene
 
MarvelSoft SchoolAdmin school software lan setup guide
MarvelSoft SchoolAdmin school software lan setup guideMarvelSoft SchoolAdmin school software lan setup guide
MarvelSoft SchoolAdmin school software lan setup guideRanganath Shivaram
 
Using Parse Server to send emails via Mandrill
Using Parse Server to send emails via MandrillUsing Parse Server to send emails via Mandrill
Using Parse Server to send emails via Mandrill
Charles Ramos
 
AliveTracker
AliveTrackerAliveTracker
AliveTracker
WebsiteAlive
 
MarvelSoft email hosting guide
MarvelSoft email hosting guideMarvelSoft email hosting guide
MarvelSoft email hosting guide
Ranganath Shivaram
 
Sms integration with ring central
Sms integration with ring centralSms integration with ring central
Sms integration with ring central
Khadhar Koneti
 
WebsiteAlive General Setup Guide
WebsiteAlive General Setup GuideWebsiteAlive General Setup Guide
WebsiteAlive General Setup Guide
WebsiteAlive
 
Mule management console installation
Mule management console installation Mule management console installation
Mule management console installation
javeed_mhd
 
Action Mailer
Action MailerAction Mailer
Action Mailer
SHC
 
Vanity email outlook express set up guide
Vanity email outlook express set up guideVanity email outlook express set up guide
Vanity email outlook express set up guide
GM CENTURY 21 AllPoints Reatly Connecticut
 
SPC HIGH EARNER USER'S GUIDE
SPC HIGH EARNER USER'S GUIDESPC HIGH EARNER USER'S GUIDE
SPC HIGH EARNER USER'S GUIDEEbenezer Omotere
 
2011 1-11 txt web overview
2011 1-11 txt web overview2011 1-11 txt web overview
2011 1-11 txt web overview
Narayan Srinivasan
 

What's hot (19)

magento 2 mobile login extension
magento 2 mobile login extensionmagento 2 mobile login extension
magento 2 mobile login extension
 
Csce 5580 001_s17_pa2
Csce 5580 001_s17_pa2Csce 5580 001_s17_pa2
Csce 5580 001_s17_pa2
 
Login With External Accounts In Odoo
Login With External Accounts In OdooLogin With External Accounts In Odoo
Login With External Accounts In Odoo
 
How to integrate bulk sms api in java
How to integrate bulk sms api in javaHow to integrate bulk sms api in java
How to integrate bulk sms api in java
 
Mail server
Mail serverMail server
Mail server
 
MarvelSoft SchoolAdmin Offline LAN Access Setup Guide
MarvelSoft SchoolAdmin Offline LAN Access Setup GuideMarvelSoft SchoolAdmin Offline LAN Access Setup Guide
MarvelSoft SchoolAdmin Offline LAN Access Setup Guide
 
RapidResponse Autoresponder Quick Start Guide Pictorial
RapidResponse Autoresponder Quick Start Guide Pictorial RapidResponse Autoresponder Quick Start Guide Pictorial
RapidResponse Autoresponder Quick Start Guide Pictorial
 
MarvelSoft SchoolAdmin school software lan setup guide
MarvelSoft SchoolAdmin school software lan setup guideMarvelSoft SchoolAdmin school software lan setup guide
MarvelSoft SchoolAdmin school software lan setup guide
 
Using Parse Server to send emails via Mandrill
Using Parse Server to send emails via MandrillUsing Parse Server to send emails via Mandrill
Using Parse Server to send emails via Mandrill
 
AliveTracker
AliveTrackerAliveTracker
AliveTracker
 
MarvelSoft email hosting guide
MarvelSoft email hosting guideMarvelSoft email hosting guide
MarvelSoft email hosting guide
 
Sms integration with ring central
Sms integration with ring centralSms integration with ring central
Sms integration with ring central
 
test
testtest
test
 
WebsiteAlive General Setup Guide
WebsiteAlive General Setup GuideWebsiteAlive General Setup Guide
WebsiteAlive General Setup Guide
 
Mule management console installation
Mule management console installation Mule management console installation
Mule management console installation
 
Action Mailer
Action MailerAction Mailer
Action Mailer
 
Vanity email outlook express set up guide
Vanity email outlook express set up guideVanity email outlook express set up guide
Vanity email outlook express set up guide
 
SPC HIGH EARNER USER'S GUIDE
SPC HIGH EARNER USER'S GUIDESPC HIGH EARNER USER'S GUIDE
SPC HIGH EARNER USER'S GUIDE
 
2011 1-11 txt web overview
2011 1-11 txt web overview2011 1-11 txt web overview
2011 1-11 txt web overview
 

Similar to Messaging APIs of RingCentral

Can mule integrate with ring central part2
Can mule integrate with ring central part2Can mule integrate with ring central part2
Can mule integrate with ring central part2
Anirban Sen Chowdhary
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
Mithilesh Singh
 
How a network connection is created A network connection is initi.pdf
How a network connection is created A network connection is initi.pdfHow a network connection is created A network connection is initi.pdf
How a network connection is created A network connection is initi.pdf
arccreation001
 
Can mule integrate with ring central
Can mule integrate with ring centralCan mule integrate with ring central
Can mule integrate with ring central
Anirban Sen Chowdhary
 
Build and graduate your app in ring central
Build and graduate your app in ring centralBuild and graduate your app in ring central
Build and graduate your app in ring central
Anirban Sen Chowdhary
 
SMS tracking API.pptx
SMS tracking API.pptxSMS tracking API.pptx
SMS tracking API.pptx
Atishay Chaudhary
 
Postman.ppt
Postman.pptPostman.ppt
Postman.ppt
ParrotBAD
 
Setting up your ring central sandbox in steps
Setting up your ring central sandbox in stepsSetting up your ring central sandbox in steps
Setting up your ring central sandbox in steps
Anirban Sen Chowdhary
 
Solace Integration with Mulesoft
Solace Integration with MulesoftSolace Integration with Mulesoft
Solace Integration with Mulesoft
Integration Assistance
 
Getting started with RingCentral
Getting started with RingCentralGetting started with RingCentral
Getting started with RingCentral
Anirban Sen Chowdhary
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postman
Abhishek Saxena
 
Spc high earner users guide
Spc high earner users guideSpc high earner users guide
Spc high earner users guide
Ebenezer Omotere
 
Line Messaging API Integration with Spring-Boot
Line Messaging API Integration with Spring-BootLine Messaging API Integration with Spring-Boot
Line Messaging API Integration with Spring-Boot
InnovationM
 
Push Notification - Part 3 - Transcript.pdf
Push Notification - Part 3 - Transcript.pdfPush Notification - Part 3 - Transcript.pdf
Push Notification - Part 3 - Transcript.pdf
ShaiAlmog1
 
Mule (aws)sns
Mule (aws)snsMule (aws)sns
Mule (aws)sns
g raghavender reddy
 
Push notification to the open web
Push notification to the open webPush notification to the open web
Push notification to the open web
Ahmed Gamal
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guideZenita Smythe
 
Microsoft identity platform and device authorization flow to use azure servic...
Microsoft identity platform and device authorization flow to use azure servic...Microsoft identity platform and device authorization flow to use azure servic...
Microsoft identity platform and device authorization flow to use azure servic...
Sunil kumar Mohanty
 
Augmenting Web Services with SMS and XMPP
Augmenting Web Services with SMS and XMPPAugmenting Web Services with SMS and XMPP
Augmenting Web Services with SMS and XMPP
Sam Keen
 

Similar to Messaging APIs of RingCentral (20)

Can mule integrate with ring central part2
Can mule integrate with ring central part2Can mule integrate with ring central part2
Can mule integrate with ring central part2
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
 
How a network connection is created A network connection is initi.pdf
How a network connection is created A network connection is initi.pdfHow a network connection is created A network connection is initi.pdf
How a network connection is created A network connection is initi.pdf
 
Can mule integrate with ring central
Can mule integrate with ring centralCan mule integrate with ring central
Can mule integrate with ring central
 
Build and graduate your app in ring central
Build and graduate your app in ring centralBuild and graduate your app in ring central
Build and graduate your app in ring central
 
SMS tracking API.pptx
SMS tracking API.pptxSMS tracking API.pptx
SMS tracking API.pptx
 
Postman.ppt
Postman.pptPostman.ppt
Postman.ppt
 
Setting up your ring central sandbox in steps
Setting up your ring central sandbox in stepsSetting up your ring central sandbox in steps
Setting up your ring central sandbox in steps
 
Solace Integration with Mulesoft
Solace Integration with MulesoftSolace Integration with Mulesoft
Solace Integration with Mulesoft
 
Getting started with RingCentral
Getting started with RingCentralGetting started with RingCentral
Getting started with RingCentral
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postman
 
Spc high earner users guide
Spc high earner users guideSpc high earner users guide
Spc high earner users guide
 
Line Messaging API Integration with Spring-Boot
Line Messaging API Integration with Spring-BootLine Messaging API Integration with Spring-Boot
Line Messaging API Integration with Spring-Boot
 
Push Notification - Part 3 - Transcript.pdf
Push Notification - Part 3 - Transcript.pdfPush Notification - Part 3 - Transcript.pdf
Push Notification - Part 3 - Transcript.pdf
 
Mule (aws)sns
Mule (aws)snsMule (aws)sns
Mule (aws)sns
 
How to create mail server in cisco packet tracer
How to create mail server in cisco packet tracerHow to create mail server in cisco packet tracer
How to create mail server in cisco packet tracer
 
Push notification to the open web
Push notification to the open webPush notification to the open web
Push notification to the open web
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
 
Microsoft identity platform and device authorization flow to use azure servic...
Microsoft identity platform and device authorization flow to use azure servic...Microsoft identity platform and device authorization flow to use azure servic...
Microsoft identity platform and device authorization flow to use azure servic...
 
Augmenting Web Services with SMS and XMPP
Augmenting Web Services with SMS and XMPPAugmenting Web Services with SMS and XMPP
Augmenting Web Services with SMS and XMPP
 

More from Anirban Sen Chowdhary

Change the game with Game changer
Change the game with Game changerChange the game with Game changer
Change the game with Game changer
Anirban Sen Chowdhary
 
Ring central desktop app overview
Ring central desktop app overviewRing central desktop app overview
Ring central desktop app overview
Anirban Sen Chowdhary
 
Overview in ringcentral digital line
Overview in ringcentral digital lineOverview in ringcentral digital line
Overview in ringcentral digital line
Anirban Sen Chowdhary
 
Some basics with ring central
Some basics with ring centralSome basics with ring central
Some basics with ring central
Anirban Sen Chowdhary
 
Ring central and python
Ring central and pythonRing central and python
Ring central and python
Anirban Sen Chowdhary
 
RingCentral application development overview
RingCentral application development overviewRingCentral application development overview
RingCentral application development overview
Anirban Sen Chowdhary
 
Cloze connect ringcentral
Cloze connect ringcentralCloze connect ringcentral
Cloze connect ringcentral
Anirban Sen Chowdhary
 
Overview on ring central errors part 4
Overview on ring central errors part 4Overview on ring central errors part 4
Overview on ring central errors part 4
Anirban Sen Chowdhary
 
Overview on ring central errors
Overview on ring central errorsOverview on ring central errors
Overview on ring central errors
Anirban Sen Chowdhary
 
Call recording overview ring central
Call recording overview  ring centralCall recording overview  ring central
Call recording overview ring central
Anirban Sen Chowdhary
 
Ring central engaging with amazon alexa
Ring central engaging with amazon alexaRing central engaging with amazon alexa
Ring central engaging with amazon alexa
Anirban Sen Chowdhary
 
How ring central sdk changing the game
How ring central sdk changing the gameHow ring central sdk changing the game
How ring central sdk changing the game
Anirban Sen Chowdhary
 
When ring central connect salesforce
When ring central connect salesforceWhen ring central connect salesforce
When ring central connect salesforce
Anirban Sen Chowdhary
 
Mule 4 connecting ring central
Mule 4 connecting ring centralMule 4 connecting ring central
Mule 4 connecting ring central
Anirban Sen Chowdhary
 
Ring central sdk
Ring central sdkRing central sdk
Ring central sdk
Anirban Sen Chowdhary
 
Ring central with okta
Ring central with oktaRing central with okta
Ring central with okta
Anirban Sen Chowdhary
 
Ring central connecting salesforce overview
Ring central connecting salesforce overviewRing central connecting salesforce overview
Ring central connecting salesforce overview
Anirban Sen Chowdhary
 
Ring central call logs overview (part 2)
Ring central call logs overview (part 2)Ring central call logs overview (part 2)
Ring central call logs overview (part 2)
Anirban Sen Chowdhary
 
Call recording of ring central
Call recording of ring centralCall recording of ring central
Call recording of ring central
Anirban Sen Chowdhary
 
Ring central fax
Ring central faxRing central fax
Ring central fax
Anirban Sen Chowdhary
 

More from Anirban Sen Chowdhary (20)

Change the game with Game changer
Change the game with Game changerChange the game with Game changer
Change the game with Game changer
 
Ring central desktop app overview
Ring central desktop app overviewRing central desktop app overview
Ring central desktop app overview
 
Overview in ringcentral digital line
Overview in ringcentral digital lineOverview in ringcentral digital line
Overview in ringcentral digital line
 
Some basics with ring central
Some basics with ring centralSome basics with ring central
Some basics with ring central
 
Ring central and python
Ring central and pythonRing central and python
Ring central and python
 
RingCentral application development overview
RingCentral application development overviewRingCentral application development overview
RingCentral application development overview
 
Cloze connect ringcentral
Cloze connect ringcentralCloze connect ringcentral
Cloze connect ringcentral
 
Overview on ring central errors part 4
Overview on ring central errors part 4Overview on ring central errors part 4
Overview on ring central errors part 4
 
Overview on ring central errors
Overview on ring central errorsOverview on ring central errors
Overview on ring central errors
 
Call recording overview ring central
Call recording overview  ring centralCall recording overview  ring central
Call recording overview ring central
 
Ring central engaging with amazon alexa
Ring central engaging with amazon alexaRing central engaging with amazon alexa
Ring central engaging with amazon alexa
 
How ring central sdk changing the game
How ring central sdk changing the gameHow ring central sdk changing the game
How ring central sdk changing the game
 
When ring central connect salesforce
When ring central connect salesforceWhen ring central connect salesforce
When ring central connect salesforce
 
Mule 4 connecting ring central
Mule 4 connecting ring centralMule 4 connecting ring central
Mule 4 connecting ring central
 
Ring central sdk
Ring central sdkRing central sdk
Ring central sdk
 
Ring central with okta
Ring central with oktaRing central with okta
Ring central with okta
 
Ring central connecting salesforce overview
Ring central connecting salesforce overviewRing central connecting salesforce overview
Ring central connecting salesforce overview
 
Ring central call logs overview (part 2)
Ring central call logs overview (part 2)Ring central call logs overview (part 2)
Ring central call logs overview (part 2)
 
Call recording of ring central
Call recording of ring centralCall recording of ring central
Call recording of ring central
 
Ring central fax
Ring central faxRing central fax
Ring central fax
 

Recently uploaded

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 

Recently uploaded (20)

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 

Messaging APIs of RingCentral

  • 1. Anirban Sen Chowdhary Messaging APIs of RingCentral
  • 2. RingCentral deals with different kind of APIs that offers reliable VoIP calling, web meetings, fax, & more features over cloud communication with reliability, security, and quality . In this blog we will discuss about different APIs related to SMS and messaging and it’s various status. As we already seen in our previous posts, we can start by logging into our RingCentral developer portal and need to do is create a new application by hitting the CreateApp button in right top:
  • 3. Following details need to be provided: • Application Name: The name of your app. • Organization Name: The name of your organization. • Description: Any text describing your app and should contain minimum 20 characters.
  • 4. We have choose Desktop (Mac/Windows/Other) and authorization includes password flow in above image. Once the API created, we can see the details like client id, client secret etc in the dashboard:
  • 5. Testing API via postman Creates and sends a new message: You can send SMS messages simultaneously to different recipients up to 50 requests per minute. The API for sending SMS is: POST https://platform.devtest.ringcentral.com/restapi/v1.0/account/accou ntId/extension/extensionId/sms
  • 6.
  • 7. If you see the messageStatus here, you can it’s Queued:
  • 8. • If status for at least one recipient is ‘Queued‘, then ‘Queued‘ value is returned which means the message hasn’t reached the SMS provider. If the SMS provider is temporarily unavailable, the message will be ‘Queued‘ and the carrier will continue to retry. • Reading the message status: Every message we send has a message id. We can read the message state by using the following API: • GET https://platform.devtest.ringcentral.com/restapi/v1.0/account /~/extension/~/message-store/<message id>
  • 9.
  • 10. By this time, if you check the message state it will show ‘Delivered’ as above, which means the message is reached the recipient. If the mobile phone we are sending is switched off, the carrier will tries to deliver within 48 hours and if unsuccessful then it will expires the message and in that case we will get the status as ‘DeliveryFailed‘.
  • 11. Deleting the message: We can use the same API and delete the message. for example, now if we use DELETE method as follows: DELETE https://platform.devtest.ringcentral.com/restapi/v1.0/accou nt/~/extension/~/message-store/<message id>
  • 12. The API has deleted the message from message store. It will not provide any response. Now if we do a GET and check the response we will see: availability is ‘Deleted‘ :
  • 13. Message availability status. Message in ‘Deleted‘ state is still preserved with all its attachments and can be restored.
  • 14. Modifying readStatus of message: We can use the same API with PUT method and can modify the readstatus of the message. There is 2 readStatus: Read, Unread We can modify as below: PUT https://platform.devtest.ringcentral.com/restapi/v1.0/account/~ /extension/~/message-store/<message id>
  • 15.
  • 16. We see previous slide, we have modified the SMS readStatus into unread. If we go back to the GET https://platform.devtest.ringcentral.com/restapi/v1.0/accou nt/~/extension/~/message-store/<message id> and check the readStatus of message we will get as below:
  • 17.
  • 18. Listing Valid SMS Numbers: To determine which numbers a user can use to send and receive SMS, retrieve the user’s list of phone numbers from the extension/phone number endpoint and then filter by numbers with the SmsSender and/or MmsSender feature.
  • 19.
  • 20. Reading SMS Content: We can also read the actual message or SMS content and can see what the user had send using following API: GET https://platform.devtest.ringcentral.com/restapi/v1.0/account/~ /extension/~/message-store/<message id>/content/<attachment id>
  • 21. Conclusion So at the end we can see that RingCentral not only provide API to just send a SMS message, but also provides APIs to get the SMS status, content and even delete a SMS message, retrieve it, change it’d read status and so on. It provides such a variety of features that we can actually control almost all the messaging feature end to end. We can integrate all these features of API in our application which can be a web application or an android or even a standalone running in any programming language either Java, PHP, javascript etc and control all the messaging features at a single place! We will discuss some more RingCentral APIs and it’s feature in next post.