![]() All other states are for outbound messages. The states Receiving and Received, are for inbound messages, which means that someone has replied to a message and your Twilio number has received it. There are currently 9 potential states a message might be in - Accepted, Queued, Sending, Sent, Receiving, Received, Delivered, Undelivered, Failed. These callbacks allow you to receive receipts on the changing state of a message as it’s transported from Twilio, through operators, to the destination recipient. The best way of understanding your message deliverability is to subscribe to Status Callbacks. Importantly, you need to know whether your messages are being delivered to your customers. Res.writeHead(200, /Messages.jsonĭelivery Status (DLRs, statusCallbacks & Feedback Resource) I have illustrated both below (there are advantages to using a helper library, such as allowing you to use conditional statements in your code for more control of how to handle the message response):Ĭonst MessagingResponse = require('twilio').twiml.MessagingResponse You could do this with the help of one of our libraries, or just use TwiML.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |