Ketch Configuration API

Fetch per-property bootstrap and consent configuration.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /config/{organizationCode}/{propertyCode}/{envCode}/{jurisdictionCode}/{langCode}/consent.json Get a property's consent configuration · Get the v2 consent configuration for a property #
Ask an LLM
“What consent experience does my property show in a given jurisdiction?”
“Can I fetch the v2 consent config for a language and environment?”
Tell an agent
Get the consent configuration for {property} in {jurisdiction}, language {lang}, environment {env}, org {org}.
Fetch the v2 consent config for {property} in {jurisdiction} for {lang} on {env}.
GET /config/{organizationCode}/{propertyCode}/{envCode}/{jurisdictionCode}/{langCode}/config.json Get a property's full configuration · Get the full configuration for a property #
Ask an LLM
“What does the full configuration file for a property contain?”
“Can I get every configuration setting for a property in one request?”
Tell an agent
Get the full configuration for {property} in {jurisdiction}, language {lang}, environment {env}, org {org}.
Fetch the complete config file for {property} in {jurisdiction} for {lang} on {env}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/ketch-io:ketch-io-configuration-api"
All apis
curl "https://apis.io/api/v1/apis?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

ketch-io-configuration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ketch Web Configuration API
  description: 'REST endpoints that power Ketch consent collection, consent retrieval and

    update, data subject rights, and preference center QR codes. Endpoint paths

    and behavior are derived from the open source Ketch Web API SDK at

    https://github.com/ketch-sdk/ketch-web-api which is the canonical client for

    the Ketch global edge endpoints served from https://global.ketchcdn.com/web/v3.'
  version: 3.0.0
  contact:
    name: Ketch
    url: https://docs.ketch.com/
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
- url: https://global.ketchcdn.com/web/v3
  description: Ketch global edge production API.
tags:
- name: Configuration
  description: Fetch per-property bootstrap and consent configuration.
paths:
  /config/{organizationCode}/{propertyCode}/{envCode}/{jurisdictionCode}/{langCode}/consent.json:
    parameters:
    - $ref: '#/components/parameters/OrganizationCode'
    - $ref: '#/components/parameters/PropertyCode'
    - $ref: '#/components/parameters/EnvCode'
    - $ref: '#/components/parameters/JurisdictionCode'
    - $ref: '#/components/parameters/LangCode'
    get:
      tags:
      - Configuration
      summary: Get the v2 consent configuration for a property
      description: 'Returns the consent-experience configuration for the given property,

        environment, jurisdiction, and language. No secret authentication is

        required; the request is bound to a known property code.'
      operationId: getConsentConfiguration
      parameters:
      - name: hash
        in: query
        required: false
        description: Optional cache-buster hash.
        schema:
          type: string
      responses:
        '200':
          description: The consent configuration document.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Configuration'
  /config/{organizationCode}/{propertyCode}/{envCode}/{jurisdictionCode}/{langCode}/config.json:
    parameters:
    - $ref: '#/components/parameters/OrganizationCode'
    - $ref: '#/components/parameters/PropertyCode'
    - $ref: '#/components/parameters/EnvCode'
    - $ref: '#/components/parameters/JurisdictionCode'
    - $ref: '#/components/parameters/LangCode'
    get:
      tags:
      - Configuration
      summary: Get the full configuration for a property
      operationId: getFullConfiguration
      responses:
        '200':
          description: The full configuration document.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Configuration'
components:
  parameters:
    OrganizationCode:
      name: organizationCode
      in: path
      required: true
      schema:
        type: string
    LangCode:
      name: langCode
      in: path
      required: true
      schema:
        type: string
    JurisdictionCode:
      name: jurisdictionCode
      in: path
      required: true
      schema:
        type: string
    EnvCode:
      name: envCode
      in: path
      required: true
      schema:
        type: string
    PropertyCode:
      name: propertyCode
      in: path
      required: true
      schema:
        type: string
  schemas:
    Configuration:
      type: object
      description: Property configuration document. Shape varies by deployment.
      additionalProperties: true