Input Formats
If you already use Zenvia, Movile, Twilio, SMSDev, DisparoPro, or Infobip, you can send requests in the same format.
Add the parameter &simulate=FORMAT to the endpoint:
| Endpoint | https://sms.witi.me/sms/send.aspx?chave=API_KEY&simulate=format |
| Method | POST |
| Formats | Zenvia Movile Twilio SMSDev DisparoPro Infobip |
Tip
Specify the desired route by adding the parameter &rota=123 to the endpoint URL. Likewise, you can specify the sending type by adding the parameter &tipo=token, for example.
Zenvia Input Example
{
"sendSmsMultiRequest": {
"aggregateName": "MKT",
"sendSmsRequestList": [
{
"from": "sender",
"to":"11999999999",
"schedule":"2014-08-23T02:01:23",
"msg":"Zenvia test message",
"callbackOption":"NONE",
"id":"003",
"flashSms":false,
"dataCoding": 0,
"sender": "30133"
}
]
}
}
Movile Input Example
{
"messages": [
{
"destination":"11999999999",
"messageText":"Movile test message"
}
]
}
Twilio Input Example
| Content-type | x-www-form-urlencoded |
| To | +5511987654321 |
| Body | Twilio test message |
SMSDev Input Example
[
{
"number": 11999999999,
"msg": "SMSDev test message"
}
]
DisparoPro Input Example
[
{
"numero": 11999999999,
"mensagem": "DisparoPro test message"
}
]
Infobip Input Example
{
"messages": [
{
"from": "MyCompany",
"destinations": [
{
"to": "11999999999"
},
{
"to": "11987654321"
}
],
"text": "Infobip test message"
}
]
}