Voice

Attach a number to a SIP trunk — estimate

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

post/v1/messaging/phone-numbers/{id}/sip-trunk/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/phone-numbers/{id}/sip-trunk/estimate
  • Auth: HTTP bearer

Path parameters

idstring required

Phone number record ID (from GET /v1/phone-numbers).

Request body

trunkIdstring required

SIP trunk ID (from POST /v1/phone-numbers/sip-trunks).

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.