Get number info

Method

GET

Path

phone_numbers/NUMBER

where NUMBER is the phone number

Request Parameters

None

Response

A JSON object with success, message, and data attributes. The data attribute holds a Phone Number Object.

Sample Call

curl https://api.phaxio.com/v2/phone_numbers/+18475551234 \
    -u 'API_KEY:API_SECRET'

Sample Response

{
    "success":true,
    "message":"Retrieved user phone numbers successfully",
    "data":{
        "phone_number":"+18475551234",
        "city":"Northbrook",
        "state":"Illinois",
        "country":"United States",
        "cost":200,
        "last_billed_at":"2016-05-10T11:38:15.000-05:00",
        "provisioned_at":"2016-03-10T11:38:15.000-06:00",
        "callback_url":null
    }
}