POST
/v2/mgmt/flow/export

Authorization

AuthorizationRequiredBearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

application/jsonRequired
flowIdstring
curl -X POST "https://api.descope.com/v2/mgmt/flow/export" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "flowId": "string"
  }'

OK

{
  "flow": {
    "flowId": "string",
    "metadata": {
      "name": "string",
      "description": "string",
      "componentsVersion": "string",
      "disabled": true,
      "fingerprint": true,
      "widget": true,
      "translation": {
        "enabled": true,
        "connectorId": "string",
        "sourceLanguage": "string",
        "targetLanguages": [
          "string"
        ]
      },
      "sharedInteractions": [
        {
          "id": "string",
          "type": "string",
          "label": "string",
          "icon": "string",
          "subType": "string"
        }
      ]
    },
    "contents": {},
    "screens": [
      {
        "screenId": "string",
        "interactions": [
          {
            "id": "string",
            "type": "string",
            "label": "string",
            "icon": "string",
            "subType": "string"
          }
        ],
        "contents": {}
      }
    ],
    "references": {
      "connectors": {
        "property1": "string",
        "property2": "string"
      },
      "oauth": [
        "string"
      ],
      "roles": [
        "string"
      ],
      "userAttributes": [
        "string"
      ],
      "tenantAttributes": [
        "string"
      ]
    }
  }
}

Was this helpful?