Skip to main content

Send Message

GET/POST https://<host>/Remote/SendMessage

Replace <host> with either www.txt.co.zw or usd.txt.co.zw. Requests can be sent as GET (query string parameters) or POST (application/x-www-form-urlencoded).

Parameters

FieldTypeRequiredDescription
UsernamestringOnly for IP-based auth
RecipientsstringYesComma-separated mobile numbers. A leading 0 is replaced with the country code if not specified.
BodystringYesThe message content
sending_numberstringNoMust be pre-registered with txt.co.zw and listed under your sending numbers. Defaults to txt.co.zw if omitted.

Example

GET https://<host>/Remote/SendMessage?Username=xxx&Recipients=263771234567&Body=Hello+World

Response

  • ERROR: {error description}
  • SUCCESS: {message id}

All messages sent are logged in txt.co.zw and can be viewed from the normal login.