Create and publish an endpoint-backed flow
POST/api/channels/:channel/whatsapp/flows-endpoint/flows
Creates the flow on the WABA with endpoint_uri pointing at this
channel's per-flow data endpoint (the API field — data_channel_uri
is gone from Flow JSON 3.0), injecting data_api_version: "3.0" into
the Flow JSON when absent, and publishes in the same call. Refused
before Meta is contacted when the encryption key is not uploaded yet or
the screen map is invalid.
Request
Responses
- 201
- 403
- 422
Created and published.
Authenticated but not allowed.
Key missing, screen map invalid, or Meta rejected the Flow JSON (reason passed through).