---
title: "Enable calling on a number — estimate"
method: POST
path: "/v1/messaging/phone-numbers/{id}/whatsapp/calling/estimate"
tags: ["WhatsApp Calling"]
---

# Enable calling on a number — estimate

`POST /v1/messaging/phone-numbers/{id}/whatsapp/calling/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/messaging/phone-numbers/{id}/whatsapp/calling/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/messaging/phone-numbers/{id}/whatsapp/calling`.

## Path parameters

- `id` string, required: Phone number record ID (from GET /v1/phone-numbers).

## Request body

- object
  - `accountId` string, required
  - `forwardTo` string, required: tel:+E164 / sip:... / wss://... destination
  - `forwardCallerId` 'business' | 'caller': Caller ID presented to the forward destination. caller = the WhatsApp user's number (sip: destinations only; ignored on tel: forwards). Fixes AI-agent trunks that reject seeing the business number call itself.
  - `sipAuthPassword` string: Stored encrypted, never returned by any endpoint.
  - `sipAuthUsername` string
  - `recordingEnabled` boolean
  - `callIconCountries` string[]
  - `maxCallDurationSeconds` integer: Hard cap (seconds) on a forwarded call; the carrier hangs up both legs when it fires. Safety valve against dead-air billing when a destination hangs up but the signal is lost.

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
