News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
SMS delivery report
Tags: rest api
Aug 11, 2019 at 1:08pm   •   2 replies  •  0 likes
Nitika D

Do we have a concept of delivery reports (like read receipts in emails ) in RingCentral ApI's. If so, I would like to integrate the RingCentral SMS API in my C# based program and want to receive delivery reports of the SMS sent . Can I be helped with a sample code where such a case was successfully integrated .

2 Answers
answered on Aug 14, 2019 at 4:25pm  

There are few ways you can do that. Apart from what @Phong Vu said, here is a small snippet of the messageStatus in the API return:

Queued, Sent, Delivered, DeliveryFailed, SendingFailed, Received

https://developers.ringcentral.com/api-reference/SMS/createSMSMessage

"Sent" -- reached SMS provider/carrier, "Delivered" -- reached the recipient.

ref: https://forums.developers.ringcentral.com/questions/1207/message-status.html

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'"

Apart from this, you can use Call Log for reporting the sms


 0
answered on Aug 12, 2019 at 10:30am  

If you want to get the SMS delivery report, save the message Id after sending an SMS message. Then use the Get Message API to read the status of that message. Parse the messageStatus from the response to see if the message was sent successfully or failed. You need to poll again if the message status is "Queued".

Unfortunately, I cannot help with sample code for every single feature you want. This should be simple though.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us