Estimate per-minute cost for a destination
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.
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
1 <= value <= 120Response 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,
"totalCostUSD": 0
}
}{
"error": "Unauthorized"
}List call history for an account GET
Compact history listing for a single connected account. Results are scoped to the resolved SocialAccount; profile-scoped team members cannot read calls on sibling accounts.
Check call permission for a consumer GET
Returns the permission state and the list of available actions for a given consumer wa_id (e.g. `start_call`, `send_call_permission_request`). Use this before placing a call to decide whether to prompt for consent first.