Skip to main content
The XML API sends one or more SMS with a single POST request carrying an XML document. It suits XML-based systems, or cases where you want to send several messages in one request.
The XML API is permanently supported — we will not discontinue it. For new integrations we recommend JSON API v2, which adds more channels (Viber/WhatsApp), fallback flow, and structured responses.

Endpoint

Send the XML document as the value of the POST parameter XMLDATA. Pass the API key as the apikey parameter.

Request body (XML)

Response (XML)

Success:
RequestID identifies the sent message. An error is indicated by <Response Type="ERROR" ID="<code>" />.

Example

cURL