WhatsApp Flows

Create flow — estimate

Price the request without executing it. Same body as POST /v1/messaging/whatsapp/flows.

post/v1/messaging/whatsapp/flows/estimate

Request

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

Request body

namestring required

Flow display name

accountIdstring required

WhatsApp account ID

asVersionboolean

When cloning, true keeps the clone in cloneFlowId's version lineage (auto-numbered next version); false/absent creates an independent flow. Ignored without cloneFlowId.

categoriesstring[] required

Flow categories

cloneFlowIdstring

Optional: ID of an existing flow to clone the Flow JSON from

endpointUristring uri

HTTPS-only data exchange endpoint for the flow. Settable only while the flow is in DRAFT, and the flow's uploaded Flow JSON must declare data_api_version "3.0" for the endpoint to be used.

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.