Get an ATA

Method

GET

Path

atas/ID

Request Parameters

None

Response

A JSON object with success, message, and data attributes. The data attribute contains an ATA Object.

Sample Call

curl -G https://api.phaxio.com/v2.1/atas/1234 \
  -u 'API_KEY:API_SECRET'

Sample Response

{
  "success": true,
  "message": "Metadata for ATA",
  "data": {
    "id": 1234,
    "name": "Test ATA",
    "description": "This is a test ATA",
    "user_phone_number": "+18475551234",
    "domain": "ata.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"
  }
}