Numbers

Release a Number

Release a phone number you no longer need.

Release a number you no longer need. A release starts a 24-hour cooldown during which you can cancel it.

What Happens on Release

  1. Any release fee is debited from your wallet. Preview it first.
  2. The number's status becomes pending_release, with cooldown_ends_at set 24 hours ahead.
  3. Its application, trunk, and sub-account assignments are cleared, and any AI agent binding is removed. Inbound calls to it stop routing.
  4. If the number was connected to WhatsApp, the channel is disconnected.

Preview Release

Endpoint

GET /v1/account/{auth_id}/numbers/{e164}/release-preview

Request Example

curl --request GET \
  --url https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/numbers/+918045671234/release-preview \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN

Response

{
  "data": {
    "e164": "+918045671234",
    "release_fee": 0,
    "currency": "INR",
    "message": "No release fee applicable"
  }
}

When a fee applies, message reads A release fee of <amount> <currency> will be charged. The fee is a percentage of the unused part of the current rental period, set per account; your percentage is returned as release_fee_percent by inventory facets.

Release a Number

Endpoint

DELETE /v1/account/{auth_id}/numbers/{e164}

Request Example

curl --request DELETE \
  --url https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/numbers/+918045671234 \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN

Response

200 OK with the updated number object: status is pending_release, and released_at and cooldown_ends_at are set.

Cancel a Release

While the number is still pending_release, you can take it back.

Endpoint

POST /v1/account/{auth_id}/numbers/{e164}/cancel-release

Request Example

curl --request POST \
  --url https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/numbers/+918045671234/cancel-release \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN

Response

200 OK with the number object, status back to active. Any release fee is credited back to your wallet. Assignments cleared by the release are not restored — reassign the application or trunk.

Numbers Pending Release

GET /v1/account/{auth_id}/numbers/pending-release

Lists your numbers that are in the release cooldown.

Errors

StatusCodeDescription
402INSUFFICIENT_BALANCEThe release fee can't be covered by your wallet
403ACCOUNT_MISMATCHThe number belongs to another account
404NOT_FOUNDNumber not found
409NUMBER_NOT_ACTIVEThe number is not active (e.g., already pending release)
409MINIMUM_COMMITMENTThe number's minimum commitment period hasn't ended
409AADHAAR_REQUIREDThe number needs Aadhaar verification before lifecycle changes
409WHATSAPP_RELEASE_PENDINGThe number is waiting for Meta to confirm it left a previous WhatsApp Business Account
409NOT_PENDING_RELEASECancel-release on a number that isn't pending release

Next Steps

On this page