curl -X POST https://api.ravan.ai/api/v1/phone-numbers/buy/ \ -H "X-Api-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "phone_number": "+13612738809", "price": 1.15, "per_minute_price_inbound": 0.0085, "per_minute_price_outbound": 0.0945 }'
{ "success": true, "message": "Phone number purchased successfully", "data": { "phone_number": "+13612738809", "price": 1.15, "status": "active", "purchased_at": "2026-03-20T14:30:00Z" } }
Purchase a phone number from the available numbers list. The number will be provisioned and ready for use with your agents.
+13612738809
Show data
active
Phone number to purchase (E.164 format)
Purchase price
Per-minute inbound call price
Per-minute outbound call price
Successful response
Show child attributes