ConsentLayer API

ConsentLayer API as documented publicly: 33 operations. Contract generated from the documentation by API Evangelist (2026-11-04); not the provider's own document.

Operations 33

GET /api/v1/sites GET /api/v1/sites #
GET /api/v1/sites/${id} GET /api/v1/sites/${id} #
PATCH /api/v1/sites/${siteId}/banner PATCH /api/v1/sites/${siteId}/banner #
POST /api/v1/sites/${siteId}/categories POST /api/v1/sites/${siteId}/categories #
PATCH /api/v1/sites/${siteId}/categories/${catId} PATCH /api/v1/sites/${siteId}/categories/${catId} #
POST /api/v1/sites/${siteId}/scan POST /api/v1/sites/${siteId}/scan #
GET /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789 Get a site by ID #
PATCH /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/banner PATCH /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/banner #
POST /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/categories POST /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/categories #
DELETE /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/categories/f4a5b6c7-d8e9-0123-4567-890abcdef012 Delete a category #
PATCH /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/categories/f4a5b6c7-d8e9-0123-4567-890abcdef012 Update a category #
POST /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/scan POST /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/scan #
GET /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/scans Returns all scan results for a site, ordered by most recent first. #
GET /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/scans/s1c2a3n4-d5e6-7f89-0a1b-2c3d4e5f6789 Returns a single scan result by its ID. #
POST /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/scans/s1c2a3n4-d5e6-7f89-0a1b-2c3d4e5f6789/configure Automatically creates services and cookies based on a completed scan's detected services. #
DELETE /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/services DELETE /api/v1/sites/e1a2b3c4-d5e6-7f89-0a1b-2c3d4e5f6789/services #
GET /mcp GET /mcp #
GET /sites List all sites #
GET /sites/{id} Get a site by ID #
GET /sites/{id}/banner Get banner configuration #
PATCH /sites/{id}/banner Update banner configuration #
GET /sites/{id}/categories List all cookie categories for a site #
POST /sites/{id}/categories Create a new cookie category #
DELETE /sites/{id}/categories/{catid} Delete a cookie category #
PATCH /sites/{id}/categories/{catid} Update a cookie category #
POST /sites/{id}/scan Triggers a new cookie/script scan for a site. #
GET /sites/{id}/scans Returns all scan results for a site, ordered by most recent first. #
GET /sites/{id}/scans/{scanid} Returns a single scan result by its ID. #
POST /sites/{id}/scans/{scanid}/configure Automatically creates services and cookies based on a completed scan's detected services. #
GET /sites/{id}/services List all detected services and their cookies #
DELETE /sites/{id}/services/{serviceid} Delete a service and its cookies #

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/consentlayer-com:consentlayer-com-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

consentlayer-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: ConsentLayer API
  version: '2026-11-04'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-04: 33 operation(s) read from 12 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; ConsentLayer has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 12
    documentation: 21
    pages-with-code: 11
    pages-read: 12
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-04'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.consentlayer.com/docs/api-reference/sites
  - https://docs.consentlayer.com/docs/api-reference/banner
  - https://docs.consentlayer.com/docs/api-reference/errors
  - https://docs.consentlayer.com/docs/api-reference/scanner
  - https://docs.consentlayer.com/docs/api-reference/overview
  - https://docs.consentlayer.com/docs/api-reference/services
  - https://docs.consentlayer.com/docs/api-reference/categories
  - https://docs.consentlayer.com/docs/api-reference/authentication
  - https://docs.consentlayer.com/docs/api-reference/consent-records
  - https://docs.consentlayer.com/docs/quickstart
  - https://docs.consentlayer.com/docs/sdk/installation
  - https://docs.consentlayer.com/docs/guides/ai-agents
servers:


# --- truncated at 32 KB (47 KB total) ---
# Full source: https://artifacts.apis.io/consentlayer-com/openapi/_ae-authored/consentlayer-com-openapi-generated.yml