Adding/Removing Numbers

1. Adding Numbers to a Number Pool

To add numbers to your Number Pool, use the following end-point:

POST https://edgeapi.marchex.io/marketingedge/v5/api/numberpools/{number_pool_id}/numbers

curl  -H "x-organization-token: {authentication_token}" \
      -H "subscription-key: {subscription_key}" \
      -H "Content-Type: application/json" \
      -X POST \
      -d '{
        "quantity": 1,
        "top_up_with_tollfree": false
       }'  https://edgeapi.marchex.io/marketingedge/v5/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://edgeapi.marchex.io/marketingedge/v5/api/numberpools/{number_pool_id}/numbers/{number_id}

curl  -H "x-organization-token: {authentication_token}" \
      -H "subscription-key: {subscription_key}" \
      -X DELETE \
https://edgeapi.marchex.io/marketingedge/v5/api/numberpools/{number_pool_id}/numbers/{number_id}