ConsentLayer · Schema

GetSitesIdBannerResponse

Cookie ConsentAI IntegrationTracker BlockingPrivacy ComplianceConsent Logging

Properties

Name Type Description
id string Banner config ID
siteId string Parent site ID
template string Banner template: floating , wide_bar , or modal
position string Position on screen (e.g. bottom_left , top , center )
colors object Color overrides for primary , background , text , acceptButton , rejectButton
textOverrides object Custom text for headline , body , acceptLabel , rejectLabel , preferencesLabel
logoUrl string URL to a custom logo displayed in the banner
privacyPolicyUrl string Link to your privacy policy
defaultBehavior string opt_in (GDPR), opt_out (CCPA), or no_banner
closeButtonBehavior string accept_all , reject_all , or dismiss
cookieExpirationDays integer How long consent is remembered
consentVersion integer Incremented to re‑prompt visitors after changes
gcmExcludeGoogle boolean Exclude Google services from consent blocking
shopifyIntegration boolean Enable Shopify‑specific features
View JSON Schema on GitHub

JSON Schema

consentlayer-com-get-sites-id-banner-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/consentlayer-com/json-schema/consentlayer-com-get-sites-id-banner-response-schema.json",
  "title": "GetSitesIdBannerResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/consentlayer-com-openapi-generated.yml#/components/schemas/GetSitesIdBannerResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Banner config ID"
    },
    "siteId": {
      "type": "string",
      "description": "Parent site ID"
    },
    "template": {
      "type": "string",
      "description": "Banner template: floating , wide_bar , or modal"
    },
    "position": {
      "type": "string",
      "description": "Position on screen (e.g. bottom_left , top , center )"
    },
    "colors": {
      "type": "object",
      "description": "Color overrides for primary , background , text , acceptButton , rejectButton"
    },
    "textOverrides": {
      "type": "object",
      "description": "Custom text for headline , body , acceptLabel , rejectLabel , preferencesLabel"
    },
    "logoUrl": {
      "type": "string",
      "description": "URL to a custom logo displayed in the banner"
    },
    "privacyPolicyUrl": {
      "type": "string",
      "description": "Link to your privacy policy"
    },
    "defaultBehavior": {
      "type": "string",
      "description": "opt_in (GDPR), opt_out (CCPA), or no_banner"
    },
    "closeButtonBehavior": {
      "type": "string",
      "description": "accept_all , reject_all , or dismiss"
    },
    "cookieExpirationDays": {
      "type": "integer",
      "description": "How long consent is remembered"
    },
    "consentVersion": {
      "type": "integer",
      "description": "Incremented to re‑prompt visitors after changes"
    },
    "gcmExcludeGoogle": {
      "type": "boolean",
      "description": "Exclude Google services from consent blocking"
    },
    "shopifyIntegration": {
      "type": "boolean",
      "description": "Enable Shopify‑specific features"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/consentlayer-com-get-sites-id-banner-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.