Business Agent

Send a business event — estimate

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

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

Request

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

Path parameters

accountIdstring required

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

Request body

tostring required

Consumer E.164 phone number.

typestring required
payloadstring required

JSON string passed to the agent verbatim.

descriptionstring required

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.