Webhooks introduction
Instead of asking the API whether something happened, DroidSender tells your server the instant it does.
Each event you pick is delivered by POST, in JSON, to the URL you give. That is what lets you build auto-replies, update a CRM or record deliveries without polling the API every ten seconds.
The life of a message
| Event | When it fires |
|---|---|
sms.received | an SMS arrived at the device |
sms.sent | the device handed the message to the network |
sms.delivered | the carrier confirmed delivery to the recipient |
sms.failed | the send failed, with the reason |