Docs
Add number to pool
https://api.apifonica.com/v2/accounts/{accountSid}/pools/{poolSid}/numbers/{number}
Add a single number to the pool. Following number properties are immediately updated to match pool configuration:
Parameter | Description |
---|---|
name | name |
call_outbound_mode | Number mode for outbound calls, can be "sip_phone" or "xml" |
call_inbound_mode | Number mode for inbound calls, can be "sip_phone" or "xml" |
call_app_sid | Call application sid |
pool_sid | Pool sid |
Request example:
curl –X PUT https://api.apifonica.com/v2/accounts/{accountSID}/pools/{poolSid}/numbers/{number} \
-u {accountSID}:{authToken}
Response example:
{
"uri": "/v2/accounts/{accountSid}/pools/{poolSid}",
"status_code": 200,
"status_message": "OK"
}