HELP

Send SMS API:

Method : GET
URL: https://app.sms-gateway.app/services/send.php?key={API_KEY}&number={Mobile_No}&message={Mes sage}&option=1&type=sms&useRandomDevice=1

Sample Response :
{"success":true,"data":{"messages":[{"number":"0000000000000","message":"Me ssage","deviceID":26,"simSlot":null,"schedule":null,"userID":1,"groupID":"Z btlwQwfljtlDqDAxE6145ee33c47f00.10518561","status":"Pending","resultCode":n ull,"errorCode":null,"type":"sms","attachments":null,"retries":null,"sentDa te":"2021-09- 18T19:48:35+0600","deliveredDate":null,"expiryDate":null,"ID":96273}]},"err or":null}

Description:


Key : API Key
Number : E164 formatted Mobile No. ( Example 8801799275718 )
Message : Your Full SMS Message
Option = 1 Represent round robin for all device, 0 Represent Static Device
Type : SMS (for SMS Message). For MMS use mms.
Use Random device: If you want to use random device use 1. Otherwise don’t use If there is any issue the response will be:

Error Response :
{"success":false,"data":null,"error":{"code":500,"message":"This device doesn't exist in database."}}

DLR

Method : GET
URL : https://app.sms-gateway.app/dlr/?apikey=66747c7348e921211d421421321cedaceew3f&smsid=96273
Sample Response :
[{"status":true},{"data":"[{\"ID\":\"96273\",\"number\":\"8801799275718\",\ "message\":\"111\",\"schedule\":null,\"sentDate\":\"2021-09-18 19:48:35\",\"deliveredDate\":null,\"expiryDate\":null,\"status\":\"Pending\ ",\"resultCode\":null,\"errorCode\":null,\"retries\":\"0\",\"userID\":\"1\", \"deviceID\":null,\"simSlot\":null,\"groupID\":\"ZbtlwQwfljtlDqDAxE6145ee33 c47f00.10518561\",\"type\":\"sms\"}]"}]

If the DLR URL have any wrong information the response will be:
[{"status":false},{"data":{"message":"no message found with SMS ID : 962743 and User API KEY : 66747c7348e9ed421421321cedaceew3f"}}
API Document PDF
Sample PHP CodeBase
C# Code Base
Sample WebHook API Program