id | Your AvoSMS account ID (email address) |
key | API key available from your "API Access" customer account |
recipients | Number(s) of the recipient(s) concerned by the shipment |
message | SMS content (1 SMS = 160 characters, up to 600 characters max) |
sender | Sender name (must be between 3 and 11 characters) Default: short number 3XXXX |
deliveryDate | Desired sending date (only for deferred sending) [format: DD/MM/YYYY] |
deliveryHour | Time of sending the SMS (only for delayed sending) [format: DD/MM/YYYY] |
type |
N or M N = Notification | M = Marketing |
clickFollow |
Allows you to track the number of clicks on your links 0 = Do not follow | 1 = Follow (if not filled, value set to 0) |
code (OK) | Your request has been processed correctly. The SMS campaign has been sent / planned. |
solde | Your remaining balance after sending SMS. |
send_id | Identifier of the SMS sending. |
total_sms_sent | Number of SMS sent in total. |
total_character_sms | Number of characters present in the content of the SMS message. |
recipients_error | Table containing the number(s) of the recipient(s) that cannot be involved in the sending. (if no error, the table will be empty) |
ERR_100 | Unrecognized APIs. |
ERR_101 | Missing recipients (no recipients entered) |
ERR_102 | Empty SMS content (no content to send) |
ERR_103 | Error on sender name "sender" (must be between 3 and 11 characters) |
ERR_104 | The content of the SMS is too long (over 600 characters) |
ERR_105 | The date format is invalid. Check the format of the params " deliveryDate " and " deliveryHour ". |
ERR_106 | The type of the SMS is invalid. |
ERR_107 | The value "clickFollow" is invalid. |
ERR_108 | The sender name "sender" is not allowed. |
ERR_109 | Your balance is insufficient. |
ERR_9XX | Processing error, contact our services. |