---
title: Organization Display Rules
slug: archbee-docs/organization-display-rules
docTags: 
createdAt: 2025-09-17T06:27:09.000Z
---

### Code examples

:::CodeblockTabs
```curl
curl --location --request GET 'https://app.archbee.com/api/public-api/team/display-rules' \
--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/display-rules", 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/display-rules")

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/display-rules"

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 todo 
{
  "displayRules": [
    {
      "id": "wRJ1O4ChAK_lioQj39bHk",
      "title": "are gmail2",
      "combinator": "AND",
      "rules": [
        {
          "field": "email",
          "operator": "CONTAINS",
          "value": "gmail.com"
        }
      ]
    }
  ]
}
```

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