---
updatedAt: 2025-05-19T20:07:38.000Z
agentTools:
  projectIndex: https://developer.ayyeka.com/llms.txt
---

# getAllSiteCustomAttributeValues site

Get All Sites' Custom Attribute Names and Values

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "RESTAPI Service",
    "description": "RESTful API",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://restapi.ayyeka.com/v2.0"
    }
  ],
  "paths": {
    "/site/customAttributes": {
      "get": {
        "tags": [
          "site"
        ],
        "summary": "getAllSiteCustomAttributeValues site",
        "description": "Get All Sites' Custom Attribute Names and Values",
        "operationId": "site#getAllSiteCustomAttributeValues",
        "responses": {
          "200": {
            "description": "OK response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StoredSiteCustomAttributeValueCollection"
                },
                "example": [
                  {
                    "display_name": "Tag",
                    "id": 123,
                    "parent_id": 24,
                    "value": "M4_20513021_940001_FI"
                  },
                  {
                    "display_name": "Tag",
                    "id": 123,
                    "parent_id": 24,
                    "value": "M4_20513021_940001_FI"
                  }
                ]
              }
            }
          },
          "400": {
            "description": "bad_request: Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "404": {
            "description": "not_found: Site not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "429": {
            "description": "too_many_requests: Too many requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          },
          "500": {
            "description": "internal_server_error: System error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          }
        },
        "security": [
          {
            "jwt_header_Authorization": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AkapiStoredSiteCustomAttributeValue": {
        "type": "object",
        "properties": {
          "display_name": {
            "type": "string",
            "description": "Display name",
            "example": "Tag",
            "maxLength": 256
          },
          "id": {
            "type": "integer",
            "description": "ID is the unique id of the site custom attribute value.",
            "example": 123,
            "format": "int64"
          },
          "parent_id": {
            "type": "integer",
            "description": "Parent ID",
            "example": 24,
            "minimum": 1
          },
          "value": {
            "type": "string",
            "description": "Value",
            "example": "M4_20513021_940001_FI",
            "maxLength": 256
          }
        },
        "example": {
          "display_name": "Tag",
          "id": 123,
          "parent_id": 24,
          "value": "M4_20513021_940001_FI"
        },
        "required": [
          "id",
          "parent_id",
          "display_name",
          "value"
        ]
      },
      "StoredSiteCustomAttributeValueCollection": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/AkapiStoredSiteCustomAttributeValue"
        },
        "example": [
          {
            "display_name": "Tag",
            "id": 123,
            "parent_id": 24,
            "value": "M4_20513021_940001_FI"
          },
          {
            "display_name": "Tag",
            "id": 123,
            "parent_id": 24,
            "value": "M4_20513021_940001_FI"
          }
        ]
      },
      "Unauthorized": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Message of error",
            "example": "incorrect credentials"
          },
          "request_id": {
            "type": "string",
            "description": "Request ID",
            "example": "uGv69FKl"
          }
        },
        "description": "Unauthorized",
        "example": {
          "message": "incorrect credentials",
          "request_id": "uGv69FKl"
        },
        "required": [
          "request_id",
          "message"
        ]
      }
    },
    "securitySchemes": {
      "jwt_header_Authorization": {
        "type": "http",
        "description": "Secures endpoint by requiring a valid JWT token retrieved via the signin endpoint.",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "site"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```