API Documentation
Messages will sometimes not reach the recipient. There are different reasons for this happening, eg. invalid or inactive mobile number. The delivery report will give you information on the delivery status for each message sent. The report will be sent to your server. You can choose GET or POST method.
Send us your server endpoint address and we will configure this on your account: post@sveve.se
Parameters
Parameter | Type | Description |
---|---|---|
number | Long | Recipient mobile number |
status | Boolean | true: message sent ok false: message could not be sent |
id | Integer | Message ID |
ref | String | Your reference |
errorCode | String | Error code |
errorDesc | String | Error description |
Request example (get):
https://your-domain.com/sms_dlr.php?number=4593654321&status=true&id=42824112&ref=ABC123&errorCode=&errorDesc=
In this example https://your-domain.com/sms_dlr.php is your endpoint address
Retry intervals
If your server is not online or returns an error code, we will try to send the message again with increasing intervals. Time between each try:
5seconds
15seconds
1minute
2minutes
5minutes
30minutes
1hour
2hours
4hours