WhatsApp Flows

Preview Wa Flow Data

Entry-screen data a send would carry, per key with its source (nothing is sent).

Same resolve + merge as a real send: initial_data (override) > saved channel defaults > send-time bindings incl. default prefill > __example__. Without contact_id no contact data is resolved (examples only). Values coming from the contact are returned verbatim, never template-rendered.

Response: {screen, data, sources: {<key>: "prefill"|"binding"|"override"|"example"}} (saved channel defaults count as binding).

Required Scopes: whatsapp_flows:read AND contacts:read

post/api/v1/whatsapp-flows/{definition_id}/preview-data

Request

  • Base URL: https://api.sendseven.com
  • URL: https://api.sendseven.com/api/v1/whatsapp-flows/{definition_id}/preview-data
  • Auth: HTTP bearer

Path parameters

definition_idstring required

Request body

contact_idstring nullable
channel_idstring nullable
initial_dataobject nullable

Per-send overrides (any data key, e.g. _prefill<name>); win over everything.

Response

Successful Response

unknown required

Changes

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