You can verify if the Messages were
delivered or even
read (for OTT) by other Conversations Participants.
Let’s get started!
Delivery Receipts are summaries that contain detailed information about the messages sent to Participants in non-Chat channels.
This feature includes information about:
- A summary of the Message’s delivery statuses
- Number of Messages sent
- The number of Conversation Participants the message(s) was sent to
Delivery Receipts can contain the following message statuses:
An Aggregated Delivery Receipt contains a general summary of the delivery statuses of a Message to all non-Chat Participants in the Conversation.
Use aggregated receipts to represent overall delivery status of a Message.
You can retrieve the Aggregated Delivery Receipts summaries from any Message object in a Conversation that contains non-Chat recipients. This is often enough to confirm successful delivery of the message.
A Detailed Delivery Receipt represents the Message delivery status to a specific non-Chat Participant in the Conversation.
Use detailed receipts when you want to show the specific recipient who didn’t receive the message
You can also get a list of the Detailed Delivery Receipts by calling the correct method on the same object. This is useful if you want to render separate sent/delivered/read statuses for specific Participants.
Retrieving detailed receipts is necessary for error retrieval and handling. Each detailed receipt for a message that failed will contain a Twilio error code indicating the failure reason.
If the message status is
undelivered, you can handle the error code accordingly.
For more information, check the Delivery Related Errors section.
Great work! You’ve learned the foundations of Delivery Receipts, you can continue with any of the following guides: