Send SMS
Last updated
Last updated
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.
You will get HTTP 202 response if the request was sent successfully, and HTTP 404 if there was an error.
Name | Type | Description |
---|---|---|
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
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
Text of SMS. If the content does not fit into the maximum message size according to the currently set , the message will be split into multiple messages.