Business Agent

Upload a knowledge file — estimate

Price the request without executing it. Same body as POST /v1/messaging/accounts/{accountId}/business-agent/files.

post/v1/messaging/accounts/{accountId}/business-agent/files/estimate

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/accounts/{accountId}/business-agent/files/estimate
  • Auth: HTTP bearer

Path parameters

accountIdstring required

WhatsApp social account id (the number must be managed through the Cloud API).

Request body

urlstring uri required

Publicly downloadable file URL.

fileNamestring

Defaults to the last path segment of the URL.

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.