List ATAs
Method
GET
Path
atas
Request Parameters
This operation accepts paging parameters .
Response
A JSON object with success
, message
, data
, and paging attributes
. Results are paginated, and the paging
attribute holds information about the length of the data. The data
attribute is an array of ATA Objects .
Sample Call
curl -G https://api.phaxio.com/v2.1/atas \
-u 'API_KEY:API_SECRET'
Sample Response
{
"success" : true ,
"message" : "Retrieved ATAs successfully" ,
"data" : [
{
"id" : 1 ,
"name" : "My ATA" ,
"description" : "Lorem ipsum dolor sit amet" ,
"user_phone_number" : "+18475551234" ,
"domain" : "mywebsite.com" ,
"mac_address" : "AABBCCDDEEFF" ,
"last_registered" : "2020-09-01T20:02:43+00:00" ,
"expiry_time" : "2020-09-01T20:04:43+00:00" ,
"user_agent" : "Grandstream HT801 1.0.13.7" ,
"sip_uri" : "sip:192.168.0.1:5061;transport=tls"
}
],
"paging" : {
"total" : 1 ,
"per_page" : 3 ,
"page" : 1
}
}