Skip to main content
GET
/
versions
/
{versionID}
/
export
Fetch Project
curl --request GET \
  --url https://api.voiceflow.com/v2/versions/{versionID}/export \
  --header 'Authorization: <api-key>'
{
  "_version": "1.2",
  "project": {
    "_id": "63204daf2c4a550006873771",
    "name": "Hello world",
    "devVersion": "63204daf2c4a550006873772",
    "platform": "chatbot"
  },
  "version": {
    "_id": "63204daf2c4a550006873772",
    "variables": [],
    "name": "Initial Version",
    "projectID": "63204daf2c4a550006873771",
    "topics": [],
    "domains": []
  },
  "diagrams": {
    "63204daf2c4a550006873773": {
      "_id": "63204daf2c4a550006873777",
      "name": "Location",
      "type": "COMPONENT",
      "zoom": 100,
      "offsetX": 272,
      "offsetY": 104,
      "modified": 0,
      "children": [
        "6303862efce99e0009b2f101"
      ],
      "variables": [],
      "intentStepIDs": [],
      "creatorID": 3,
      "versionID": "63204daf2c4a550006873772",
      "nodes": {
        "6303862efce99e0009b2f101": {
          "nodeID": "6303862efce99e0009b2f101",
          "type": "start",
          "coords": [
            360,
            120
          ],
          "data": {
            "name": "",
            "color": "",
            "portsV2": {
              "byKey": {},
              "builtIn": {},
              "dynamic": []
            }
          }
        }
      }
    }
  },
  "programs": {
    "63204daf2c4a550006873773": {
      "commands": [],
      "lines": {
        "start00000000000000000000": {
          "id": "start00000000000000000000",
          "type": "start",
          "nextId": "63037ec09f4c20d547b1bbf5"
        },
        "63037ec09f4c20d547b1bbf5": {
          "id": "63037ec09f4c20d547b1bbf5",
          "type": "text",
          "texts": [
            {
              "id": "oisn3gkl",
              "content": [
                {
                  "children": [
                    {
                      "text": "Hello world!"
                    }
                  ]
                }
              ]
            }
          ],
          "nextId": null
        }
      },
      "name": "ROOT",
      "startId": "start00000000000000000000",
      "variables": [],
      "id": "63204daf2c4a550006873773",
      "versionID": "63204daf2c4a550006873772"
    }
  }
}

Authorizations

Authorization
string
header
required

All requests made to the Project API must be validated with the project DM API Key.

Headers

projectid
string

Voiceflow project ID. This is meant to be used in conjunction with a versionID alias on the path.

Example:

"63204daf2c4a550006873773"

Path Parameters

versionID
string
required

Voiceflow project version ID. You can also use 'development' to identify the version on canvas or 'production' to identify the published version. However if using an alias this must be used in conjuction with the projectid header.

Example:

"63204daf2c4a550006873772"

Query Parameters

prototype
enum<boolean>

If specified returns a .vfr file

Available options:
true,
false
Example:

true

Response

200 - application/json

OK