Flows
Update Flow
Update Flow JSON
Used to upload a flow JSON file with the flow content. Refer to flow JSON documentation here https://developers.facebook.com/docs/whatsapp/flows/reference/flowjson
The file must be attached as from data. The response will include any validation errors in the JSON file
post/{Version}/{Flow-ID}/assets
Request
- Base URLhttps://graph.facebook.com
- URLhttps://graph.facebook.com/{Version}/{Flow-ID}/assets
- AuthHTTP bearer
Request body multipart/form-data
Example request
{
"asset_type": "FLOW_JSON",
"name": "flow.json"
}Response
Upload Flow JSON Asset
Example response
{
"success": true,
"validation_errors": [
{
"column_end": 30,
"column_start": 17,
"error": "INVALID_PROPERTY",
"error_type": "JSON_SCHEMA_ERROR",
"line_end": 46,
"line_start": 46,
"message": "The property \"initial-text\" cannot be specified at \"$root/screens/0/layout/children/2/children/0\"."
}
]
}Changes
No recorded changes to this operation across all 5 revisions of this API.