SMS API & Integration articles
SMS API & Integration 403
SMPP or an HTTP SMS API: what each one is and which your application needs
The short answer (for developers): there are two usual ways for an application to hand SMS to a provider. With an...
SMS API & Integration 364
SMPP binds and enquire_link: keeping an SMS connection alive on a VPS
The short answer (for those with a VPS and an SMPP account): an SMPP session starts with a TCP connection to the...
SMS API & Integration 299
SMS delivery reports (DLR): how your application knows whether a message arrived
The short answer (for developers): the “OK” the provider returns when you send means accepted, not delivered....
SMS API & Integration 99
Sending SMS through the API: key, permissions, Sandbox and your first request
The short answer: the API is REST, speaks JSON and works over HTTPS only, at https://api.interweb.ao/v1. Create a...
SMS API & Integration 95
SMS API errors and message statuses: what each one means and what to do
The short answer: the HTTP code tells you the kind of problem. On a 422, details.reason says what failed and...
SMS API & Integration 43
A reusable send-SMS function in PHP, Python or Node.js, with timeouts and error handling
The short answer: write one function that sends the SMS and use it everywhere in your system. It takes the number,...
SMS API & Integration 33
Tracking each transactional SMS: the message id, masked numbers, statuses and charged
The short answer: every send through the API returns an id. Store it with the event that triggered the SMS (the...
SMS API & Integration 33
Why an SMS answer says queued: the sending queue, batches and what to tell your customer
The short answer: queued means the request was accepted and the message is in the queue, waiting its turn. It is not...
SMS API & Integration 37
Keeping transactional SMS wording in templates through the API: create, change and reuse
The short answer: notice texts do not have to be written into your code. Through the API, POST /v1/sms/templates...
SMS API & Integration 36
SMS statistics and reports through the API: totals by status, credits spent and days
The short answer: GET /v1/sms/stats gives you, for a period, how many messages and parts went out, the credits...
SMS API & Integration 31
Test cases for transactional SMS in the Sandbox: wrong numbers, long texts, no credits, repeats
The short answer: with a sandbox_ key, the API checks every request and answers as it would in Production, but no...
SMS API & Integration 36
SMS alerts for your team: a server down, low stock or a failed task, sent from a script
The short answer: any script that already watches something (a website, a server, stock levels, a backup) can text...
SMS API & Integration 42
Scheduling SMS notices through the API: send_at, time zones and when credits are charged
The short answer: add the send_at field to the send, with the date, time and time zone in ISO 8601, such as...
SMS API & Integration 34
Cancelling a scheduled SMS through the API, for example when the customer has already paid
The short answer: send POST /v1/sms/messages/{id}/cancel with the id of the scheduled SMS, before its time comes....
SMS API & Integration 37
Sending many SMS notices in one API request: the batch endpoint and its results
The short answer: POST /v1/sms/messages/batch takes many messages in a single request, each with its own number and,...
SMS API & Integration 35
The SMS webhook: how your system learns that each notice was sent or failed
The short answer: save an HTTPS address of yours with PUT /v1/sms/webhook and, from then on, whenever a message is...
SMS API & Integration 35
SMS webhook not arriving or rejected: HTTPS, signature, the 5-second answer and retries
The short answer: it is nearly always one of five things: the address is not HTTPS on port 443, it is a private...
SMS API & Integration 34
SMS notices from your own WHMCS: a hook that calls our SMS API on invoices and payments
The short answer: if you run your own WHMCS (to resell hosting or services), a short hook can call our SMS API when...
SMS API & Integration 29
WooCommerce order updates by SMS: calling our SMS API when an order changes status
The short answer: WooCommerce tells your code whenever an order changes status, through the...
SMS API & Integration 30
Connecting an ERP, CRM or in-house system to SMS notices: what your developer needs
The short answer: any system that can make an HTTPS request can send SMS through our API: an ERP, a CRM, invoicing...
SMS API & Integration 35
When an SMS notice fails: retries, returned credits and falling back to e-mail from your system
The short answer: when an SMS does not go out, we try twice more, 10 minutes apart. If it still fails, the message...





