whatsapp
Estimate per-minute cost
Returns a zero-markup estimated cost for an outbound call to the given destination, broken down by Meta + Telnyx + recording line items. Costs are pass-through, no margin applied.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
accountIdstring
tostring
minutes?integer
Range
1 <= value <= 120recording?boolean
Response 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.getWhatsAppCallEstimate({ query: { accountId: 'account_abc123', to: 'string', },});console.log(data);{
"destinationCountry": "string",
"perMinuteUsd": 0,
"breakdown": {
"metaMinutes": 0,
"metaCostUSD": 0,
"telnyxCostUSD": 0,
"recordingCostUSD": 0,
"billableCostUSD": 0,
"totalCostUSD": 0
}
}{
"error": "Unauthorized"
}Get a single call GET
Previous Page
List phone numbers GET
List all WhatsApp phone numbers purchased by the authenticated user. By default, released numbers are excluded. Connected (bring-your-own) numbers are returned in the separate `connected` array — they are not billed and have no provisioning lifecycle.