Request flow
Send endpoints
All endpoints accept the same form parameters. See the Parameters reference for the full list.
Required parameters
Response formats
Plain text (default)
When HTTP status is200, the response body contains two or three lines:
- Message ID (numeric), or
-1if the request failed - Status code —
0for success; otherwise a numeric error code - Status text (optional) — human-readable error description
-1).
Common status codes
JSON response
XML response
Persistent HTTP connections
The messaging platform allows HTTP connections to remain open to increase throughput. To maintain a persistent connection:- Do not specify
Connection: closein your HTTP request - Do not close the connection after sending a message
- Read the response data for each submission before sending the next request
