last_event for the current normalized state.
Statuses
Provider status support varies by route and destination.
submitted or sent does not prove handset delivery.
Refresh provider status
For a submitted message with provider identifiers, you can request a provider status refresh:last_event value.
Failure information
For terminal failure states, the retrieve response can include a stablefailure object:
undelivered, rejected, failed, and expired messages. Use the code for application logic and the message for display or diagnostics.
Polling guidance
When polling message state:- Poll only messages that are not in a final state.
- Apply backoff instead of polling continuously.
- Stop polling after a final state is reached.
- Use
sync-statusselectively because it performs a provider status lookup.
SMS events
Inspect the event history recorded for an individual SMS message.