Add a Phone Number

Method

POST

Path

atas/ID/phone_numbers/PHONE_NUMBER

Request Parameters

None

Response

A JSON object with success, message, and data attributes. The data attribute contains the phone number that was added.

Sample Call

curl -X POST https://api.phaxio.com/v2.1/atas/1234/phone_numbers/+12255551234 \
  -u 'API_KEY:API_SECRET'

Sample Response

{
  "success": true,
  "message": "Phone number added to ATA",
  "data": {
    "phone_number": "+12255551234"
  }
}