question

justin-nguyen11499 avatar image
justin-nguyen11499 asked ·

Message status

When I send SMS, I can get the message status as Queued, Sent, SendingFailed, Delivered,  DeliveryFailed, Received. I want to know, how to different between Delivered and Sent, SendingFailed  and DeliveryFailed ? Also, when the message status is Queued, is it definitely sent ?
General Topic
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

· Write an Answer
anton-nikitin avatar image
anton-nikitin answered ·
"Sent" -- reached SMS provider/carrier, "Delivered" -- reached the recipient. For instance if the mobile phone you are sending to is switched off, the carrier tries to deliver within 48 hours or so and then expires the message so that you will get "DeliveryFailed" status. At the same time US carriers do not always send the confirmation of successful delivery, so even if the status is "Sent" in reality it can be delivered to the recipient but we don't know about it. At the same time "DeliveryFailed" is properly propagated to us in most cases.

"Queued" status means that the message is in queue and hasn't reached SMS provider yet. For instance if SMS provider service is temporarily unavailable we queue the message and retry.
2 comments
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

So when the message updates status, Can I receive any event from server if I am registering ? I want to confirm exactly the status of my message which was sent to my customers
0 Likes 0 ·
Check  https://developer.ringcentral.com/api-docs/latest/index.html#!#EventTypes.html

https://developer.ringcentral.com/api-docs/latest/index.html#!#RefGetMessageEvent

So you can get notification when messages update. You need to issue extra API requests to check how they update.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Work together.
From anywhere.

Team messaging, video meetings
and phone - all in one app.


Get the new RingCentral app