---
title: Organization Display Rules
slug: test-archbee/organization-display-rules
docTags: 
createdAt: 2026-02-24T08:46:16.000Z
---

\{
"id": "iAifqA5mOUimXCde5oV7S",
"type": "api-oas-v2",
"data": \{
"method": "GET",
"url": "[https://api.archbee.com/api/public-api/team/display-rules](https://api.archbee.com/api/public-api/team/display-rules)",
"servers": \[
\{
"url": "[https://api.archbee.com/api/public-api/team/display-rules](https://api.archbee.com/api/public-api/team/display-rules)",
"description": "Archbee API Server"
}
],
"name": "Organization Display Rules",
"description": "Export a list of display rules.",
"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 display rules are computed.",
"example": "21-character\_\_string0"
}
],
"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 todo",
"jsonExample": "",
"isExpanded": true,
"schema": \[
\{
"kind": "optional",
"type": "object",
"description": "",
"schema": \[
\{
"name": "displayRules",
"kind": "optional",
"type": "array",
"description": "",
"example": "",
"itemType": "object",
"customType": "object\[]",
"schema": \[
\{
"name": "id",
"kind": "required",
"type": "string",
"description": "Unique identifier for the display rule",
"example": "wRJ1O4ChAK\_lioQj39bHk"
},
\{
"name": "title",
"kind": "required",
"type": "string",
"description": "Human-readable title for the display rule",
"example": "are gmail2"
},
\{
"name": "combinator",
"kind": "required",
"type": "string\<AND | OR>",
"description": "Logical operator to combine multiple rules",
"example": "AND"
},
\{
"name": "rules",
"kind": "required",
"type": "array",
"description": "Array of individual rules that define the conditions",
"example": "",
"itemType": "object",
"customType": "object\[]",
"schema": \[
\{
"name": "field",
"kind": "required",
"type": "string",
"description": "The field to evaluate the condition against",
"example": "email"
},
\{
"name": "operator",
"kind": "required",
"type": "string",
"description": "The comparison operator",
"example": "CONTAINS"
},
\{
"name": "value",
"kind": "required",
"type": "string",
"description": "The value to compare against",
"example": "gmail.com"
}
]
}
]
}
],
"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": "N3WJIJQiGwWziQN-dElI0",
"language": "curl",
"label": "cURL",
"code": "curl --request GET \\\n     --url [https://api.archbee.com/api/public-api/team/display-rules](https://api.archbee.com/api/public-api/team/display-rules) \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '\{\n     "teamId": "21-character\_\_string0"\n     }'"
},
\{
"id": "Msm-HITLN8u-aEn5spiCO",
"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/display-rules](https://api.archbee.com/api/public-api/team/display-rules)", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
},
\{
"id": "4agkocdZfLcp6e1IfqcMe",
"language": "ruby",
"label": "Ruby",
"code": "require "uri"\nrequire "json"\nrequire "net/http"\n\nurl = URI("[https://api.archbee.com/api/public-api/team/display-rules")\n\nhttps](https://api.archbee.com/api/public-api/team/display-rules"\)\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": "OEhTC2SZAosO22tYy1LIc",
"language": "python",
"label": "Python",
"code": "import requests\nimport json\n\nurl = "[https://api.archbee.com/api/public-api/team/display-rules"\n\npayload](https://api.archbee.com/api/public-api/team/display-rules"\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": "N3WJIJQiGwWziQN-dElI0"
},
"results": \{
"languages": \[
\{
"id": "A8\_lzsY40wrld5n-pUp2q",
"language": "200",
"code": "// Successful export todo\n\{\n  "displayRules": \[\n    \{\n      "id": "wRJ1O4ChAK\_lioQj39bHk",\n      "title": "are gmail2",\n      "combinator": "AND",\n      "rules": \[\n        \{\n          "field": "email",\n          "operator": "CONTAINS",\n          "value": "gmail.com"\n        }\n      ]\n    }\n  ]\n}"
},
\{
"id": "xOIGOJNbOdH6KJQ8Fy94x",
"language": "400",
"code": "// Invalid request\n\{\n  "status": "Not OK",\n  "messages": \[\n    "Some error message"\n  ]\n}"
}
],
"selectedLanguageId": "A8\_lzsY40wrld5n-pUp2q"
}
},
"children": \[
\{
"text": ""
}
]
}







