Voicemail Recording
List your voicemail messages via API
POST
https://txtria.net/api/listvms
Query Parameter
Key | Description | Required | Example |
---|---|---|---|
acc_id | TxTRIA voicemail account id | Yes | ACCT5423CCA |
sys_id | Your TxTRIA sys_id | Yes | ACfc98e7b0aae031b9h... |
auth_token | Your TxTRIA account token | Yes | c74eac89884a126a2c... |
$url = 'https://txtria.net/api/listvms';
$data = array(
'acc_id' => 'ACC334JH5JH',
'sys_id' => 'ACfc98e7b0aae031b9fa',
'auth_token' => 'c74eac89884a126a2cca'
);
$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": {
"phone": 57657865654,
"date": "2016-02-02 05:23:55",
"duration": "42",
"vm_id": "564235",
"callerid": "someone",
"media": "https://developer.txtria.net/console_assets/voicemails/tempvmmessage.wav"
}
}