3L Get SMS Info
Example URL:
https://newapi.didx.net/DidxApis/api/getSMSInfo.php?UserID=700290&Password=xxxxxxxx&DIDNumber=1581279xxxx
Example Code in Php:
<?php
$url = "https://newapi.didx.net/DidxApis/api/getSMSInfo.php?UserID=700290&Password=xxxxxxxx&DIDNumber=1581279xxxx";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
Input fields
UserID
Password
DIDNumber
Response
The API returns a JSON object
Success Response:
HTTP Code: 200
{
"error": 0,
"did": "15812796xxxx",
"messages": [
{
"to": "15812796xxxx",
"from": "15672440193",
"text": "testing 03 feb 2026 13:41?",
"time": "2026-02-03 08:41:48",
"OID": "700290"
}
]
}
Error Code:
In case of any incorrect information provided by the user or in case of no matching data, an error code will be returned. Error codes correspond to the following messages:
-1 Invalid UserID or Password.
-2 DID exists but no messages for this OID.
-5 DID number does not exist in the system.
-99 Any unexpected issue (fallback).