Know what was delivered
Every drop leaves a record: where it is, what happened and what it cost. Read the history in the API and tie each send to your own records.
What a send record shows
- The recipient number and the sender number used.
- The state: queued, held, submitted, delivered, failed or blocked, with a reason beside it.
- The attempt count, when the send was created and last updated, and when the next attempt is due.
- The charge, recorded only when the whole message connected. Charges are shown in credits, and 2 credits make one voice unit.
- Your
passthroughdata, returned exactly as you stored it.
Reading the history
Fetch a single send by its id, or list the sends of a campaign, newest first, and filter by state. Campaign totals show how many recipients are in each state, and the credits charged so far.
Delivery outcomes arrive from the delivery route as signed reports that are applied once. Your own server reads results by calling the API.
Questions
What is passthrough?
A small block of your own data, such as a CRM id, stored with the send and returned when you read it.
Can I export the history?
The send list is available through the API, newest first and up to the number you ask for in each request, and your own script can write it out.
Why is a send held?
Held means the product is waiting on something, such as a line lookup or a provider that was briefly unavailable, a verified sender number or enough voice units. It tries again shortly.