SlideShare una empresa de Scribd logo
1 de 22
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

Más contenido relacionado

La actualidad más candente

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
Ranganath Shivaram
 
SPC HIGH EARNER USER'S GUIDE
SPC HIGH EARNER USER'S GUIDESPC HIGH EARNER USER'S GUIDE
SPC HIGH EARNER USER'S GUIDE
Ebenezer Omotere
 

La actualidad más candente (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 a Messaging APIs of RingCentral

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
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
Zenita Smythe
 

Similar a 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
 

Más de Anirban Sen Chowdhary

Más de 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
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

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.