Biz SMS API (2.62)
High-volume batch SMS with two-way replies, delivery receipts and virtual numbers.
Biz SMS (the eCommunicate Automated Interactive SMS gateway) is a batch-oriented HTTP SMS API built for high-volume, two-way campaigns with delivery receipts, reply routing via virtual numbers, scheduling, and credit/charge queries.
It is a distinct product from the JSON SMS Gateway API and the WhatsApp-centric Omnichannel Integration API.
An Email-to-SMS facility is also available — send an email addressed to cellnumber@ecommunicate.biz and the gateway sends the SMS. See the Biz SMS guide for details.
- Requests are sent as
application/x-www-form-urlencodedparameters ("keywords"). Production traffic must use HTTP POST;GETis only for light testing (roughly five numbers or fewer). - Responses are XML documents in the namespace
https://messaging.ecommunicate.biz/sms/response(thehttpresponsediagnostic returns plain text). Always parse with a namespace-aware XML parser — attribute order and tag counts are not fixed. - Implement HTTP/1.1 Keep-Alive. Break large batches into ~200 numbers per POST, reusing the same
batchrefand incrementingbatchid.
There is no per-message id. Each send is identified by a client-chosen batchref (max 80 chars) plus a batchid (unique within the batchref, max 20 chars). You pull delivery receipts and replies later using the same pair. Re-sending an identical batchref+batchid does not resend — the gateway returns the original response wrapped in <previousxml> (status 1034).
Every request is authenticated with an API key: send an X-API-Key: ecom_... header. Generate and revoke keys from the client portal.
The optional specversion, commsversion, and appversion keywords are advisory. The gateway keys on major version 2.
Every outcome is carried in the XML <status code="...">. Ranges: 0 success · 1–99 partial success / fail · 1000–1999 keyword error · 2000–2999 functional error · 3000–3999 system error. A send is successful when the code is 0 (or 1 = partial, some invalid numbers). Common codes: 1010 authentication failed · 1021 message keyword missing · 1034 duplicate batchref+batchid · 1071 all numbers invalid · 1100 senderid required · 2012 insufficient credits · 1310 bad futuredatetime format.