Flows
Create Flow

Migrate Flows

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

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

Request body multipart/form-data

source_flow_namesstring

[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_idstring

The ID of the source WABA from which the flows will be copied

Example request

{
  "source_flow_names": "[\"appointment\", \"leadgen\"]",
  "source_waba_id": "<SOURCE_WABA_ID>"
}

Response

Migrate Flows

Example response

{
  "failed_flows": [
    {
      "error_code": "4233041",
      "error_message": "Flows Migration Error: Flow name not found in source WABA.",
      "source_name": "leadgen"
    }
  ],
  "migrated_flows": [
    {
      "migrated_id": "dest-flow-1",
      "source_id": "source-flow-1",
      "source_name": "appointment"
    }
  ]
}

Changes

No recorded changes to this operation across all 5 revisions of this API.