---
title: "Migrate Flows"
method: POST
path: "/{Version}/{WABA-ID}/migrate_flows"
tags: ["Flows", "Create Flow"]
---

# Migrate Flows

`POST /{Version}/{WABA-ID}/migrate_flows`

## Request

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

Creates a copy of existing flows from source WABA to destination WABA with the same names.

## Request body `multipart/form-data`

- object
  - `source_flow_names` string: [Optional] The names of the flows that will be copied from the source WABA. If not specified, all flows in the source WABA will be copied
  - `source_waba_id` string: The ID of the source WABA from which the flows will be copied

## Response `200`

Migrate Flows

- object
  - `failed_flows` object[]
    - `error_code` string
    - `error_message` string
    - `source_name` string
  - `migrated_flows` object[]
    - `migrated_id` string
    - `source_id` string
    - `source_name` 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)
