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
| Field | Type | Required | Description |
|---|---|---|---|
| Username | string | Only for IP-based auth | |
| Recipients | string | Yes | Comma-separated mobile numbers. A leading 0 is replaced with the country code if not specified. |
| Body | string | Yes | The message content |
| sending_number | string | No | Must 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.