post https://api.verihubs.com/v1/sms/send
This method helps you to send sms containing desired text to destination number
The following table describes the msisdn option to be used as an input
Msisdn Payload | Description of Response |
---|---|
628001 | Delivered |
628002 | Request Error |
628003 | Failed |
628004 | Failed |
628005 | Request Error |
628006 | Request Error |
628007 | Failed |
628008 | Request Error |
628009 | Undelivered |
Callback Description
When you want to use callback_url payload, you only need to put for example
your-callback-url.com/callback
Example callback that we'll send
your-callback-url.com/callback?session_id=d0f5fb5c-2d50-4d3f-aea7-20018ab15806&status=1
Payload | Description |
---|---|
session_id | ID of the specific message |
status | Latest status of the request |
Callback Status Description
Status | Name | Description |
---|---|---|
0 | Requested | SMS has been requested. |
1 | Delivered | SMS has been delivered to destination number. This status will be charged. |
4 | Failed | Operator cannot send SMS to destination number |
5 | Request Error | Verihubs cannot reach Operator |
7 | Undelivered | SMS has not been delivered to destination number (response received from Operator). This status will be charged. |