> ## Documentation Index
> Fetch the complete documentation index at: https://developer.onetrust.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Branding Attributes for Domain

Use this API to retrieve branding attributes for the specified domain.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Consent & Preferences - Cookie Consent",
    "version": "1.0",
    "contact": {
      "name": "OneTrust Support",
      "url": "https://my.onetrust.com/s/contactsupport"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "description": "The Cookie Consent APIs are used to integrate external systems and streamline the flow of data with Cookie Consent in the OneTrust Platform."
  },
  "servers": [
    {
      "url": "https://{hostname}",
      "variables": {
        "hostname": {
          "default": "hostname",
          "description": "The OneTrust hostname such as app.onetrust.com, app-eu.onetrust.com, app-de.onetrust.com, app-uk.onetrust.com, app-apac.onetrust.com, trial.onetrust.com, or uat.onetrust.com."
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Domains",
      "description": "The Domains APIs are used to manage domain configurations and cookie scanning settings.",
      "externalDocs": {
        "description": "OpenAPI 3.1.0 - Download Definition",
        "url": "https://developer.onetrust.com/onetrust/openapi/consent-preferences-cookie-consent.json"
      }
    }
  ],
  "x-onetrust": {
    "spec-label": "OpenAPI 3.1.0"
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "metrics-enabled": false
  },
  "paths": {
    "/api/cmp/v1/domains/{id}/branding-attributes": {
      "get": {
        "operationId": "getBrandingAttributeList",
        "summary": "Get Branding Attributes for Domain",
        "description": "Use this API to retrieve branding attributes for the specified domain.",
        "tags": [
          "Domains"
        ],
        "x-onetrust": {
          "spec-label": "https://developer.onetrust.com/onetrust/openapi/consent-preferences-cookie-consent.json"
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Resource ID (Domain ID)",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "f2229953-b4b5-4042-8cb9-b78038cc4c46"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DomainBrandingAttributesResponseDTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "429": {
            "description": "Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).",
            "headers": {
              "Retry-After": {
                "schema": {
                  "description": "The number of seconds after which requests will be allowed again.",
                  "format": "int32"
                }
              },
              "ot-period": {
                "schema": {
                  "description": "The unit of time for which the rate limit applies",
                  "enum": [
                    "HOUR",
                    "MINUTE"
                  ]
                }
              },
              "ot-ratelimit-event-id": {
                "schema": {
                  "description": "The unique identifier for the rate-limiting event.",
                  "format": "uuid"
                }
              },
              "ot-request-made": {
                "schema": {
                  "description": "The number of requests made within the specified period.",
                  "format": "int32"
                }
              },
              "ot-requests-allowed": {
                "schema": {
                  "description": "The number of requests allowed within the specified period.",
                  "format": "int32"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "OAUTH2": [
              "COOKIE",
              "COOKIE_READ"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PublicDomainBrandingAttributeDTO": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Attribute ID",
            "type": "string",
            "format": "uuid",
            "example": "f2229953-b4b5-4042-8cb9-b78038cc4c46"
          },
          "name": {
            "description": "Domain branding attribute name. Allowed attributes (key: description)",
            "type": "string",
            "enum": [
              "dPCenterCookiePolicyLinkScreenReader",
              "dPCenterButtonColor",
              "dPCenterLegIntButtonColor",
              "dPCenterBackgroundColor",
              "dPCenterImprintLink",
              "dPCenterShowImprintLink",
              "dBannerCategoryStyle",
              "dBannerImprintLink",
              "dPCenterMenuColor",
              "dBannerBackgroundColor",
              "dBannerContinueWithoutAcceptLinkColor",
              "dBannerCompanyLogoScreenReader",
              "dBannerLogoFilePath",
              "dPCenterFooterLogoFilePath",
              "dBannerCategoryContainerColor",
              "dBannerButtonTextColor",
              "dBannerCookiePolicyURL",
              "dBannerCookiePolicyLink",
              "dBannerCompanyLogoFilePath",
              "dBannerShowImprintLink",
              "dCListBackgroundColor",
              "dPCenterCookiePolicyLink",
              "dBannerTextColor",
              "dBannerSaveChoicesButtonColor",
              "dBannerRequireExternalLinks",
              "dBannerShowCookiePolicyLink",
              "dBannerImprintLinkURL",
              "dPCenterImprintLinkURL",
              "dPCenterCookiePolicyURL",
              "dCListGroupColor",
              "dCListButtonColor",
              "dCListTableHeaderColor",
              "dCListTextColor",
              "dPCenterContinueWithoutAcceptLinkColor",
              "dBannerMPButtonTextColor",
              "dCListTitleColor",
              "dPCenterLogoScreenReader",
              "dPCenterShowCookiePolicyLink",
              "dBannerLineBreakColor",
              "dPCenterLegIntButtonTextColor",
              "dBannerExternalLinksLogoFilePath",
              "dBannerCustomCSS",
              "dBannerMPButtonColor",
              "dBannerCategoryStyleColor",
              "dPCenterLinksTextColor",
              "dPCenterLogoFilePath",
              "dCListCustomCSS",
              "dCListButtonTextColor",
              "dPCenterOverrideBranding",
              "dBannerLinksTextColor",
              "dOverrideTemplateStyling",
              "dCListTableHeaderBackgroundColor",
              "dPCenterMenuHighlightColor",
              "dPCenterButtonTextColor",
              "dPCenterCustomCSS",
              "dBannerButtonColor",
              "dPCenterTextColor",
              "dBannerAnimation"
            ],
            "x-enumDescriptions": {
              "dCListGroupColor": "Cookie list group color",
              "dPCenterCookiePolicyLinkScreenReader": "Preference center cookie policy link screen reader text",
              "dCListButtonColor": "Cookie list button color",
              "dPCenterButtonColor": "Preference center primary button color",
              "dCListTableHeaderColor": "Cookie list table header text color",
              "dCListTextColor": "Cookie list text color",
              "dPCenterContinueWithoutAcceptLinkColor": "Preference center 'continue without accepting' link color",
              "dPCenterLegIntButtonColor": "Preference center legitimate interest button color",
              "dBannerMPButtonTextColor": "Banner multi-purpose button text color",
              "dPCenterBackgroundColor": "Preference center background color",
              "dCListTitleColor": "Cookie list title color",
              "dPCenterLogoScreenReader": "Preference center logo screen reader text",
              "dPCenterImprintLink": "Preference center imprint link text",
              "dPCenterShowImprintLink": "Show/hide imprint link in preference center",
              "dBannerCategoryStyle": "Banner category style option",
              "dPCenterShowCookiePolicyLink": "Show/hide cookie policy link in preference center",
              "dBannerImprintLink": "Banner imprint link text",
              "dBannerLineBreakColor": "Banner line break color",
              "dPCenterMenuColor": "Preference center menu color",
              "dPCenterLegIntButtonTextColor": "Preference center legitimate interest button text color",
              "dBannerBackgroundColor": "Banner background color",
              "dBannerExternalLinksLogoFilePath": "Banner external links logo file path",
              "dBannerContinueWithoutAcceptLinkColor": "Banner 'continue without accepting' link color",
              "dBannerCustomCSS": "Banner custom CSS",
              "dBannerMPButtonColor": "Banner multi-purpose button color",
              "dBannerCompanyLogoScreenReader": "Banner company logo screen reader text",
              "dBannerLogoFilePath": "Banner logo file path",
              "dBannerCategoryStyleColor": "Banner category style color",
              "dPCenterFooterLogoFilePath": "Preference center footer logo file path",
              "dPCenterLinksTextColor": "Preference center links text color",
              "dPCenterLogoFilePath": "Preference center logo file path",
              "dCListCustomCSS": "Cookie list custom CSS",
              "dBannerCategoryContainerColor": "Banner category container color",
              "dCListButtonTextColor": "Cookie list button text color",
              "dBannerButtonTextColor": "Banner button text color",
              "dPCenterOverrideBranding": "Override preference center branding",
              "dBannerCookiePolicyURL": "Banner cookie policy URL",
              "dBannerCookiePolicyLink": "Banner cookie policy link text",
              "dBannerCompanyLogoFilePath": "Banner company logo file path",
              "dBannerShowImprintLink": "Show/hide imprint link in banner",
              "dBannerLinksTextColor": "Banner links text color",
              "dCListBackgroundColor": "Cookie list background color",
              "dPCenterCookiePolicyLink": "Preference center cookie policy link text",
              "dBannerTextColor": "Banner text color",
              "dBannerSaveChoicesButtonColor": "Banner save choices button color",
              "dOverrideTemplateStyling": "Override template styling",
              "dCListTableHeaderBackgroundColor": "Cookie list table header background color",
              "dBannerRequireExternalLinks": "Require external links handling on banner",
              "dPCenterMenuHighlightColor": "Preference center menu highlight color",
              "dBannerShowCookiePolicyLink": "Show/hide cookie policy link in banner",
              "dPCenterButtonTextColor": "Preference center button text color",
              "dPCenterCustomCSS": "Preference center custom CSS",
              "dBannerButtonColor": "Banner primary button color",
              "dPCenterTextColor": "Preference center text color",
              "dBannerAnimation": "Banner animation option",
              "dBannerImprintLinkURL": "Banner imprint URL",
              "dPCenterImprintLinkURL": "Preference center imprint URL",
              "dPCenterCookiePolicyURL": "Preference center cookie policy URL"
            }
          },
          "value": {
            "description": "Attribute value",
            "type": "object",
            "example": "#000000"
          },
          "type": {
            "description": "Attribute type",
            "type": "string",
            "example": "STRING",
            "enum": [
              "STRING",
              "LONG",
              "BOOLEAN",
              "UUID"
            ]
          }
        }
      },
      "DomainBrandingAttributesResponseDTO": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Resource ID (Domain ID)",
            "type": "string",
            "format": "uuid",
            "example": "f2229953-b4b5-4042-8cb9-b78038cc4c46"
          },
          "resourceName": {
            "description": "Resource name (Domain name)",
            "type": "string",
            "example": "www.example.com",
            "maxLength": 255,
            "minLength": 1
          },
          "attributes": {
            "description": "Map of branding attributes keyed by attribute name",
            "type": "object",
            "example": "[\"dPCenterCookiePolicyLinkScreenReader\": {\"name\": \"dPCenterCookiePolicyLinkScreenReader\", \"value\": \"#000000\"}, {\"name\": \"dPCenterButtonColor\", \"value\": \"#FFFFFF\"}]",
            "additionalProperties": {
              "$ref": "#/components/schemas/PublicDomainBrandingAttributeDTO"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "OAUTH2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{hostname}/api/access/v1/oauth/token",
            "scopes": {
              "COOKIE": "Cookie Scope gives the user access to read/write operations inside the Cookie Consent module.",
              "COOKIE_READ": "Cookie Read Scope gives the user read-only access to the Cookie Consent module."
            }
          }
        }
      }
    }
  }
}
```