Release a phone number
Give up a phone number and stop its rental, so it is not charged at the next renewal. Only a number currently allocated to the account can be released.
Releasing gives the number up and stops its rental, so it is not charged at the next renewal.
More in Buy a number over the API.
The number to release.
Reseller accounts only: the client to act on. Omit it to act on your own account.
curl -X POST 'https://omnidim.io/api/v1/phone_number/release' \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "phone_number": "+15551234567" }'
{ "success": true, "phone_number": "+15551234567", "status": "released" }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
application/jsonphone_number*stringThe number to release.
user_id?integerReseller accounts only: the client to act on. Omit it to act on your own account.
Response body
application/jsonThe number was released.
application/jsonsuccess?booleanphone_number?stringstatus?"released""released"Was this page helpful?
Purchase a phone number
Buy a phone number from the OmniDimension number shop. The monthly rental comes out of your wallet and the number is added to your account, ready to attach to an agent.
Switch auto-renew on a phone number
Turn auto-renew off or back on for a number bought from the number shop. With auto-renew off, the number is not charged again: it keeps working until the end of the period already paid for and is then released. Turn it back on before that date and it renews as normal. Sending the value the number already has changes nothing and still succeeds.
