Voice

Place an outbound phone call — estimate

Price the request without executing it. Same body as POST /v1/messaging/voice/calls.

post/v1/messaging/voice/calls/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/voice/calls/estimate
  • Auth: HTTP bearer

Request body

tostring required

Destination to dial, E.164 with leading +.

amdboolean

Answering-machine detection; defers the bridge until human vs machine is known.

greetingstring

Spoken to the callee when they answer, before the bridge.

forwardTostring

Per-call agent override (tel:+E164, sip:..., or wss://...); defaults to the number's stored forward destination.

fromNumberstring

Which of your voice-enabled numbers to dial from. Optional when you have exactly one.

recordOverrideboolean

Per-call recording toggle; defaults to the number's setting.

ringTimeoutSecondsinteger

Seconds to let the callee's phone ring before the call ends as no_answer. The destination carrier can end it sooner.

transcribeOverrideboolean

Per-call transcription toggle; defaults to the number's setting.

voicemailDropMessagestring

Spoken to a detected machine, then hang up (implies amd). For outbound voicemail drops.

transcriptionLanguage'auto' | 'en' | 'es'

'auto' derives from the callee's country; 'en'/'es' force it.

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.