---
title: Organization Display Rules
slug: test-mdx-pdf/organization-display-rules
docTags: 
createdAt: 2026-07-21T14:09:11.897Z
---

{
  "id": "3c_I1Zyoaj8a1XelbYsk-",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.archbee.com/api/public-api/team/display-rules",
    "servers": [
      {
        "url": "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": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        },
        {
          "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": "<p>Requires the <code>Authorization</code> header in the form <code>Authorization: Bearer {base64(docSpaceId~apiKey)}</code> Where the token is base64 encoding of docSpaceId, tilde, and apiKey.</p>",
          "scheme": "bearer"
        }
      ],
      "cookieParameters": []
    },
    "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": "<p>Human-readable title for the display rule</p>",
                    "example": "are gmail2"
                  },
                  {
                    "name": "combinator",
                    "kind": "required",
                    "type": "string<AND | OR>",
                    "description": "Logical operator to combine multiple rules",
                    "example": "AND",
                    "enum": [
                      "AND",
                      "OR"
                    ]
                  },
                  {
                    "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",
                "enum": [
                  "OK",
                  "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": "MUVCFNFn7ahT_s54nnOyj",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 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": "_PzIGp-6V3FpSPD5m45Yo",
          "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\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "z4DxpUsovO6MRtEWynzYc",
          "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 = 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": "bbW4djVJeW7sbLbFhKFPw",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"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": "MUVCFNFn7ahT_s54nnOyj"
    },
    "results": {
      "languages": [
        {
          "id": "sQ_pM3YldtMjv9nmQfgk3",
          "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": "zPIL2163qe0t9kSNuOYJk",
          "language": "400",
          "code": "// Invalid request\n{\n  \"status\": \"Not OK\",\n  \"messages\": [\n    \"Some error message\"\n  ]\n}"
        }
      ],
      "selectedLanguageId": "sQ_pM3YldtMjv9nmQfgk3"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}