Public API
Phone numbers API
List, import, attach, and detach owned numbers with numbers:read and numbers:write.
This API manages numbers the workspace already owns. It does not buy a number, search a shop, or start checkout.
The machine-readable contract is `openapi.public.yaml`. Download it for clients and codegen. This site has no live Try-it console.
List owned numbers
curl -sS -X GET "https://api.stage.dhvanee.com/v1/phone-numbers" \
-H "Authorization: Bearer dhvanee_live_YOUR_KEY"Import a BYO number
curl -sS -X POST "https://api.stage.dhvanee.com/v1/phone-numbers/import" \
-H "Authorization: Bearer dhvanee_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"phone":"+919876543210","label":"Support"}'Scopes
numbers:readfor GETnumbers:writefor import, attach, and detach
Was this page helpful?