API Reference
Numbers API
Search and purchase WhatsApp-capable numbers on Vobiz, or verify and connect an existing number via BYON - OTP-based ownership verification included.
GET
Numbers API
Base URL:
Search for WhatsApp-capable phone numbers available for purchase.
Purchase a new WhatsApp-capable phone number. After the order is fulfilled, use Create Channel to connect it to your WABA. Returns
Initiate OTP verification for a number you already own. Choose
Submit the OTP received in step 1 to complete verification. On success, the number is confirmed and ready to connect via Create Channel. Returns
https://api.vobiz.ai/api/v1/messaging
Authentication: every request requires X-Auth-ID: MA_XXXXXXXX and X-Auth-Token: <token> headers (a Authorization: Bearer <JWT> header is also accepted). Send Content-Type: application/json on requests with a body. Get your credentials from console.vobiz.ai.
BYON verification flow
If you already have a WhatsApp Business number, the BYON (Bring Your Own Number) flow verifies ownership via OTP before connecting it to Vobiz.Request OTP
Enter your phone number and select
sms or voice verification with the verify endpoint.Confirm OTP
Receive the OTP code on your number and submit it to the confirm endpoint.
Connect
Once verified, connect the number with Create Channel.
List available numbers
ISO country code (e.g.
IN, US).State/region filter.
cURL
200 OK
Create number order
201 Created.
ISO country code (e.g.
IN).State/region for the number.
Number type. Currently
local.Preferred number in E.164 format. Optional.
Billing currency:
INR or USD.cURL
201 Created
Number order object
Unique order identifier (UUID).
Your Vobiz account ID (
MA_XXXXXXXX).ISO country code.
State/region for the number.
Number type, e.g.
local.Allocated phone number in E.164 format.
Upstream provider’s order identifier.
Upstream provider name.
Order status:
pending, completed, failed, or cancelled.Recurring monthly cost.
One-time setup cost.
Billing currency.
Reason the order failed, if
status is failed. Otherwise null.Creation timestamp (RFC3339 UTC).
Last update timestamp (RFC3339 UTC).
Verify BYON - step 1
sms or voice as the delivery method. Returns 200 OK.
Phone number to verify, in E.164 format.
OTP delivery method:
sms or voice.cURL
200 OK
Confirm BYON verification - step 2
200 OK.
Phone number being verified, in E.164 format.
The OTP code received in step 1.
cURL
200 OK