Get phone number
Retrieve the current status of a purchased phone number. Used to poll for Meta pre-verification completion after purchase.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Phone number record ID
Response Body
application/json
application/json
application/json
curl -X GET "https://zernio.com/api/v1/whatsapp/phone-numbers/string"{
"phoneNumber": {
"id": "string",
"phoneNumber": "string",
"status": "pending_payment",
"country": "string",
"metaPreverifiedId": "string",
"metaVerificationStatus": "string",
"provisionedAt": "2019-08-24T14:15:22Z"
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Purchase phone number POST
Initiate purchasing a WhatsApp phone number. Payment-first flow: the user does not pick a specific number. The system either creates a Stripe Checkout Session (first number) or increments the existing subscription quantity and provisions inline (subsequent numbers). Requires a paid plan. The maximum number of phone numbers is determined by the user's plan.
Release phone number DELETE
Release a purchased phone number. This will: 1. Disconnect any linked WhatsApp social account 2. Decrement the Stripe subscription quantity (or cancel if last number) 3. Release the number from Telnyx 4. Mark the number as released