List Tollfree Numbers
Get a list of available TxTRIA Tollfree numbers
POST
https://txtria.com/api/gettollfreenumbers
Query Parameter
Key | Description | Required | Example |
---|
$url = 'https://txtria.com/api/gettollfreenumbers';
$data = array(
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Example Response
{
"success": "1",
"data": [
{
"number": "8332022818"
},
{
"number": "8332022820"
}
]
}