ConsentLayer · Schema

PatchSitesIdBannerRequest

Cookie ConsentAI IntegrationTracker BlockingPrivacy ComplianceConsent Logging

Properties

Name Type Description
template string Banner template: floating, wide_bar, or modal
position string Position: bottom_left, bottom_right, top_left, top_right, bottom, top, center
colors object Color overrides with keys: primary, background, text, acceptButton, rejectButton
textOverrides object Text overrides with keys: headline, body, acceptLabel, rejectLabel, preferencesLabel
privacyPolicyUrl string Link to your privacy policy page
defaultBehavior string Consent behavior: opt_in (GDPR), opt_out (CCPA), or no_banner
closeButtonBehavior string When user clicks X: accept_all, reject_all, or dismiss
cookieExpirationDays integer Days until consent cookie expires
View JSON Schema on GitHub

JSON Schema

consentlayer-com-patch-sites-id-banner-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/consentlayer-com/json-schema/consentlayer-com-patch-sites-id-banner-request-schema.json",
  "title": "PatchSitesIdBannerRequest",
  "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/PatchSitesIdBannerRequest",
  "type": "object",
  "properties": {
    "template": {
      "type": "string",
      "description": "Banner template: floating, wide_bar, or modal"
    },
    "position": {
      "type": "string",
      "description": "Position: bottom_left, bottom_right, top_left, top_right, bottom, top, center"
    },
    "colors": {
      "type": "object",
      "description": "Color overrides with keys: primary, background, text, acceptButton, rejectButton"
    },
    "textOverrides": {
      "type": "object",
      "description": "Text overrides with keys: headline, body, acceptLabel, rejectLabel, preferencesLabel"
    },
    "privacyPolicyUrl": {
      "type": "string",
      "description": "Link to your privacy policy page"
    },
    "defaultBehavior": {
      "type": "string",
      "description": "Consent behavior: opt_in (GDPR), opt_out (CCPA), or no_banner"
    },
    "closeButtonBehavior": {
      "type": "string",
      "description": "When user clicks X: accept_all, reject_all, or dismiss"
    },
    "cookieExpirationDays": {
      "type": "integer",
      "description": "Days until consent cookie expires"
    }
  }
}

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-patch-sites-id-banner-request"
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.