---
title: "Update Flow JSON"
method: POST
path: "/{Version}/{Flow-ID}/assets"
tags: ["Flows", "Update Flow"]
---

# Update Flow JSON

`POST /{Version}/{Flow-ID}/assets`

## Request

- Base URL: `https://graph.facebook.com`
- URL: `https://graph.facebook.com/{Version}/{Flow-ID}/assets`
- Auth: HTTP bearer

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](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

## Request body `multipart/form-data`

- object
  - `asset_type` string
  - `file` string, binary
  - `name` string

## Response `200`

Upload Flow JSON Asset

- object
  - `success` boolean
  - `validation_errors` object[]
    - `column_end` number
    - `column_start` number
    - `error` string
    - `error_type` string
    - `line_end` number
    - `line_start` number
    - `message` string

---

[API](https://skmtc.dev/meta/apis/whatsapp-business-messaging.md) - [All operations](https://skmtc.dev/meta/apis/whatsapp-business-messaging/llms.txt) - [OpenAPI document](https://skmtc.dev/meta/apis/whatsapp-business-messaging/revisions/5c1973265369?raw)
