Message Status Callbacks
The recommended way to keep track of the status of your outbound messages is to setup a server endpoint to receive status update events in real time.
Once you’ve configured this endpoint, specify its
url and HTTP
method in the Send Message API request. Plivo will call this endpoint with the latest message details as and when the message status changes.
The following message attributes are passed on to the status update
url with every status change event.
These attributes are passed as Form Data if the
method configured is
POST, and as Query Params if it is
The unique ID for the message.
Phone number of the recipient.
The sender ID used as the source address for the message.
The type of message - “sms” or “mms”.
Status of the message including "queued", "sent", "failed", "delivered", "undelivered" or "rejected".
Number of units into which a long SMS was split
This is the charge applicable per outbound SMS unit.
Total charge for sending the SMS (TotalRate * No. of Units)
Mobile Country Code of the To number. (See here for more details)
Mobile Network Code of the To number. (See here for more details)
The Plivo error code which identifies the reason for the message delivery failure. This parameter is only defined for 'failed' or 'undelivered' messages.
|ParentMessageUUIDreserved for future use|
Same as the MessageUUID. This parameter is reserved for future use, and should be ignored for now.
|PartInforeserved for future use|
This parameter is reserved for future use, and should be ignored for now.
Use this attribute to track the sequence in which callbacks for this SMS were generated by the Plivo system.
The timestamp at which the SMS was initiated. Format: YYYY-mm-dd HH:MM:SS.SSSSSS
The timestamp at which the SMS was queued. Format: YYYY-mm-dd HH:MM:SS.SSSSSS
The timestamp at which the SMS was submitted to the downstream carrier for delivery. Format: YYYY-mm-dd HH:MM:SS.SSSSSS
The timestamp at which the delivery report for this SMS was received from the downstream carrier. Format: YYYY-mm-dd HH:MM:SS.SSSSSS
The SMS Powerpack UUID used for the message. This will be empty if a Powerpack was not used.