Add Number
POST https://{{axpAPIDomain}}/api/admin/voice/v1/accounts/:accountId/phone-numbers
This API requires the Account Administrator role.
Assign phone number which is available.
The following field must be unique otherwise a HTTP 409 Conflcit
will be returned:
* phoneNumber
Will trigger asynchronous updates, the status of which should be monitored via /phone-numbers/{phoneNumberId}
.
Request Body
{"phoneNumber"=>"+16479308804", "displayName"=>"private Number", "countryCode"=>"US", "isCallingPartyNumber"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
appkey | string | ||
Content-Type | string | ||
Accept | string |