Send SMS
If you wish to send SMS via HTTP API, please contact us at support@miatel.com stating your Miatel account and the IP addresses to whitelist.
Endpoint
Parameters
username
string
Username or account name
password
string
The password associated with the given username
from
string
Sender ID (SRC-number)
to
string
Recipient's phone number (DST-number).
text
string
comment
string
(optional) The name of the communication or other comment about the sent SMS
Request Example
Response
You will get HTTP 202 response if the request was sent successfully, and HTTP 404 if there was an error.
Response template
Used response parameters:
request_code
number
The code of the delivery message (0 - Accepted; 4 - Failed)
request_description
string
Description of the delivery message code
message_id
string
The unique identifier of the send message
dlvrd_count
number
Number of short messages delivered. The value may be padded with leading zeros.
status_code
number
code_number
number
Example responses
Last updated