flowId, but the handler ignores it. It forwards the JSON body toPOST /{WABA_ID}/flows (create flow) instead of POST /{FLOW_ID}/assets.POST /{FLOW_ID}/assetsmultipart/form-data with file, name (flow.json) and asset_typeFLOW_JSON). This endpoint does not accept that format yet.flow_json set, or usecurl --location '/v1/whatsapp///flows//assets' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Lead capture",
"categories": [
"SIGN_UP"
],
"flow_json": "string",
"publish": false,
"clone_flow_id": "string",
"endpoint_uri": "http://example.com"
}'{
"id": "string",
"success": true,
"validation_errors": [
{
"error": "string",
"error_type": "string",
"message": "string",
"line_start": 0,
"line_end": 0,
"column_start": 0,
"column_end": 0,
"pointers": [
{
"line_start": 0,
"line_end": 0,
"column_start": 0,
"column_end": 0,
"path": "string"
}
]
}
]
}