WhatsApp Business API
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.1
Request OTP
Enter your phone number and select
sms or voice verification with the verify endpoint.2
Confirm OTP
Receive the OTP code on your number and submit it to the confirm endpoint.
3
Connect
Once verified, connect the number with Create Channel.
List available numbers
string
required
ISO country code (e.g.
IN, US).string
State/region filter.
cURL
200 OK
Create number order
201 Created.
string
required
ISO country code (e.g.
IN).string
required
State/region for the number.
string
required
Number type. Currently
local.string
Preferred number in E.164 format. Optional.
string
required
Billing currency:
INR or USD.cURL
201 Created
Number order object
string
Unique order identifier (UUID).
string
Your Vobiz account ID (
MA_XXXXXXXX).string
ISO country code.
string
State/region for the number.
string
Number type, e.g.
local.string
Allocated phone number in E.164 format.
string
Upstream provider’s order identifier.
string
Upstream provider name.
string
Order status:
pending, completed, failed, or cancelled.number
Recurring monthly cost.
number
One-time setup cost.
string
Billing currency.
string
Reason the order failed, if
status is failed. Otherwise null.string
Creation timestamp (RFC3339 UTC).
string
Last update timestamp (RFC3339 UTC).
Verify BYON - step 1
sms or voice as the delivery method. Returns 200 OK.
string
required
Phone number to verify, in E.164 format.
string
required
OTP delivery method:
sms or voice.cURL
200 OK
Confirm BYON verification - step 2
200 OK.
string
required
Phone number being verified, in E.164 format.
string
required
The OTP code received in step 1.
cURL
200 OK