---
title: Organization Export
slug: test-archbee/organization-export
docTags: 
createdAt: 2026-02-24T08:46:16.000Z
---

\{
"id": "g2iWHm7wkkj\_NexPQL2mZ",
"type": "api-oas-v2",
"data": \{
"method": "GET",
"url": "[https://api.archbee.com/api/public-api/team/export](https://api.archbee.com/api/public-api/team/export)",
"servers": \[
\{
"url": "[https://api.archbee.com/api/public-api/team/export](https://api.archbee.com/api/public-api/team/export)",
"description": "Archbee API Server"
}
],
"name": "Organization Export",
"description": "Export assets, spaces with documents, team and user data from Archbee given&#x20;

:::Iframe{code="<code>"}

:::

teamId. Use&#x20;

:::Iframe{code="<code>"}

:::

\--output \<export\_file\_path>",
"contentType": "application/json",
"request": \{
"pathParameters": \[],
"headerParameters": \[
\{
"kind": "required",
"name": "Content-Type",
"type": "string",
"example": "application/json",
"description": ""
}
],
"queryParameters": \[],
"bodyDataParameters": \[
\{
"kind": "required",
"name": "body",
"type": "object",
"description": "",
"schema": \[
\{
"name": "teamId",
"kind": "required",
"type": "string",
"description": "Team id for which the export is computed.",
"example": "21-character\_\_string0"
},
\{
"name": "exportThisSpaceOnly",
"kind": "optional",
"type": "boolean",
"description": "OPTIONAL, use this if you want to export data only from the space with docSpaceId.",
"example": true
},
\{
"name": "exportAsLink",
"kind": "optional",
"type": "boolean",
"description": "OPTIONAL, use this if you want to get a link to the zip archive.",
"example": true
}
],
"isExpanded": true
}
],
"formDataParameters": \[],
"oAuthParameters": \[
\{
"id": "bearerAuth",
"name": "bearerAuth",
"kind": "optional",
"type": "http",
"description": "Requires the&#x20;

:::Iframe{code="<code>"}

:::

Authorization header in the form&#x20;

:::Iframe{code="<code>"}

:::

Authorization: Bearer \{base64(docSpaceId\~apiKey)} Where the token is base64 encoding of docSpaceId, tilde, and apiKey.",
"scheme": "bearer"
}
]
},
"responses": \[
\{
"statusCode": "200",
"description": "Successful export",
"jsonExample": "",
"isExpanded": true
},
\{
"statusCode": "400",
"description": "Invalid request",
"jsonExample": "",
"isExpanded": true,
"schema": \[
\{
"kind": "optional",
"type": "object",
"description": "",
"customType": "Response400",
"schema": \[
\{
"name": "status",
"kind": "optional",
"type": "string\<OK | Not OK>",
"description": "Response Status",
"example": "Not OK"
},
\{
"name": "messages",
"kind": "optional",
"type": "array",
"description": "Array of messages",
"example": "\["Some error message"]",
"itemType": "string",
"customType": "string\[]",
"itemExample": "Some error message",
"itemDefault": ""
}
],
"modelRef": "#/components/schemas/Response400",
"isExpanded": true
}
]
}
],
"hasXCodeSamples": false,
"examples": \{
"languages": \[
\{
"id": "\_66l5YozZZFfcp0KL6rsc",
"language": "curl",
"label": "cURL",
"code": "curl --request GET \\\n     --url [https://api.archbee.com/api/public-api/team/export](https://api.archbee.com/api/public-api/team/export) \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '\{\n     "teamId": "21-character\_\_string0"\n     }'"
},
\{
"id": "69yFo7T7V4qAsIM6zIP8V",
"language": "javascript",
"label": "javascript",
"code": "var myHeaders = new Headers();\nmyHeaders.append("accept", "application/json");\nmyHeaders.append("content-type", "application/json");\n\nvar raw = JSON.stringify(\{\n   "teamId": "21-character\_\_string0"\n});\n\nvar requestOptions = \{\n   method: 'GET',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch("[https://api.archbee.com/api/public-api/team/export](https://api.archbee.com/api/public-api/team/export)", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
},
\{
"id": "jPrTJMCTvDy\_o7VCZOyQu",
"language": "ruby",
"label": "Ruby",
"code": "require "uri"\nrequire "json"\nrequire "net/http"\n\nurl = URI("[https://api.archbee.com/api/public-api/team/export")\n\nhttps](https://api.archbee.com/api/public-api/team/export"\)\n\nhttps) = Net\::HTTP.new(url.host, url.port)\nhttps.use\_ssl = true\n\nrequest = Net\::HTTP\::Get.new(url)\nrequest\["accept"] = "application/json"\nrequest\["content-type"] = "application/json"\nrequest.body = JSON.dump(\{\n   "teamId": "21-character\_\_string0"\n})\n\nresponse = https.request(request)\nputs response.read\_body\n"
},
\{
"id": "KAVXmRC22cTQspTz8dIWa",
"language": "python",
"label": "Python",
"code": "import requests\nimport json\n\nurl = "[https://api.archbee.com/api/public-api/team/export"\n\npayload](https://api.archbee.com/api/public-api/team/export"\n\npayload) = json.dumps(\{\n   "teamId": "21-character\_\_string0"\n})\nheaders = \{\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request("GET", url, headers=headers, data=payload)\n\nprint(response.text)\n"
}
],
"selectedLanguageId": "\_66l5YozZZFfcp0KL6rsc"
},
"results": \{
"languages": \[
\{
"id": "tziTw9fZmdf-x5veGsjoe",
"language": "200",
"code": "// Successful export\n"
},
\{
"id": "cqy-1kE6O2weyNe3oZoGz",
"language": "400",
"code": "// Invalid request\n\{\n  "status": "Not OK",\n  "messages": \[\n    "Some error message"\n  ]\n}"
}
],
"selectedLanguageId": "tziTw9fZmdf-x5veGsjoe"
}
},
"children": \[
\{
"text": ""
}
]
}















