Confirm the caller-ID verification code
Submits the one-time code the number received. On success, tel:
call forwards present the business number itself as caller ID
(callerIdMode: business).
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Phone number record ID (from GET /v1/phone-numbers).
4 <= length <= 10Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.whatsappcalling.verifyWhatsAppCallerId({ path: { id: 'abc123', }, body: { code: 'abc123', },});console.log(data);{
"verified": true
}{
"error": "Unauthorized"
}Start caller-ID verification for a customer-brought number POST
Customer-brought (BYO) WhatsApp numbers cannot present themselves as caller ID on `tel:` call forwards until verified (carrier anti-spoofing); until then forwarded calls show a Zernio number (`callerIdMode: platform` on the calling config). This sends a one-time code to the number by SMS or voice call. Re-POST to resend. Zernio-purchased numbers never need this and get a 400.
Get reviews GET
Returns reviews for a GBP account including ratings, comments, and owner replies. Use nextPageToken for pagination.