v3 SendSMS

Popis:

Odeslat textovou zprávu (SMS) nebo multimediální zprávu (MMS)


URI:

https://api.multitel.net/v3/sendsms

Parametry:

Required: 
from  -  your SMS enabled phone number 
to    -  destination number
text  -  text message we will be sending

Optional:
media - base64 encoded image (jpg/png)
notifyurl - if provided, we will post back any status changes to this URL. (example: https://customer-crm.xyz/notify-handler )
reference - your own reference ; will be useful since you might have several messages with the same from/to parameters ; 
passing the reference parameter will help you identify which message the status update is for

Metody:

POST


Ukázkový výstup:

{
  "status":
    {
      "code":"200",
      "msg":""
    },
  "response":
    {
      "status":"Success",
      "message":"Message queued",
      "causecode":0,
      "uniqueid":"eba01f56-1fbe-4aac-9ff7-4a6b9e00001",
      "cost":0.015,
      "chars":0,
      "parts":1,
      "permsg":0.015,
      "pid":"ZQF88E7031eba01f56-1fbe-4aac-9ff7-4a6b9e00001"
    }
  }

Ukázkový kód:

! note: change the YOURUSERNAME and YOURPASSWORD keywords with your own username/password


Vyhledat dokumentaci