---
title: Organization Export
slug: archbee-docs/organization-export
docTags: 
createdAt: 2024-08-27T06:26:34.000Z
---

### Code examples

:::CodeblockTabs
```curl
curl --location --request GET 'https://app.archbee.com/api/public-api/team/export' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
  "teamId": "21-character__string0"
}'
```

```javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");

var raw = JSON.stringify({
   "teamId": "21-character__string0"
});

var requestOptions = {
   method: 'GET',
   headers: myHeaders,
   body: raw,
   redirect: 'follow'
};

fetch("https://app.archbee.com/api/public-api/team/export", requestOptions)
   .then(response => response.text())
   .then(result => console.log(result))
   .catch(error => console.log('error', error));
```

```ruby
require "uri"
require "json"
require "net/http"

url = URI("https://app.archbee.com/api/public-api/team/export")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Accept"] = "application/json"
request["Content-Type"] = "application/json"
request.body = JSON.dump({
   "teamId": "21-character__string0"
})

response = https.request(request)
puts response.read_body

```

```python
import requests
import json

url = "https://app.archbee.com/api/public-api/team/export"

payload = json.dumps({
   "teamId": "21-character__string0"
})
headers = {
   'Accept': 'application/json',
   'Content-Type': 'application/json'
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

```
:::

### Responses

:::CodeblockTabs
```200
// Successful export 

```

```400
// Invalid request 
{
  "status": "Not OK",
  "messages": [
    "Some error message"
  ]
}
```
:::
