Adding/Removing Numbers
1. Adding Numbers to a Number Pool
To add numbers to your Number Pool, use the following end-point:
POST https://webservice.telmetrics.com/v3/api/numberpools/{number_pool_id}/numbers
curl -H "x-organization-token: {authentication_token}" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"quantity": 1,
"top_up_with_tollfree": false
}' https://webservice.telmetrics.com/v3/api/numberpools/{number_pool_id}/numbers
2. Deleting Numbers from a Number Pool
To remove numbers from your Number Pool, use the following end-point:
DELETE https://webservice.telmetrics.com/v3/api/numberpools/{number_pool_id}/numbers/{number_id}
curl -H "x-organization-token: {authentication_token}" \
-X DELETE \
https://webservice.telmetrics.com/v3/api/numberpools/{number_pool_id}/numbers/{number_id}
Updated about 5 years ago