The CookieHub Management API is a secure and exclusive service built for our Enterprise clients requiring sophisticated automation and large-scale governance of their Consent Management Platform (CMP). As compliance frameworks evolve and your domain count grows, manual configuration becomes impractical. This RESTful API solves that challenge by providing the tools necessary to treat your CookieHub policies and settings as code.
This API eliminates manual administrative overhead and ensures consistency across hundreds of domains, making compliance management scalable and reliable.
Bulk Domain Onboarding
Rapidly create, configure, and activate multiple domain properties by sending a single configuration payload via your internal systems.
Policy Synchronization
Enforce strict regulatory consistency by automatically retrieving and updating master policy templates across all connected websites.
CI/CD Integration
Embed CMP configuration changes directly into your Continuous Integration/Continuous Deployment pipelines for zero-touch deployment and version control.
Custom Reporting
Programmatically fetch detailed consent records and log data for auditing, allowing integration into your internal Business Intelligence (BI) or compliance reporting tools.
The Management API is built on standard REST principles, allowing interaction via common HTTP methods. Access requires strict authentication and knowledge of the core resources you need to manage.
All API requests must be authenticated. Access is granted using an API Key generated within your dashboard.
Method: The key must be sent with every request, typically using the Bearer Token scheme in the Authorization header.
Key Location: API Keys - CookieHub Dashboard Account Settings
The API manages configurations by interacting with the following key resources:
/domains: Used for managing individual website properties and their linked settings. Common operations include GET, POST, PUT, and DELETE requests.
/settings: Used for retrieving or updating configuration details, such as regional rules or scanner preferences, for a specific domain. Common operations are GET and PUT.
/consentlog: Used for accessing the chronological log of user consent events for compliance auditing and data export. The primary operation is GET.
This API is designed exclusively for Enterprise clients who require a robust and scalable method to manage a large number of domains, policies, and settings. It is intended for use by internal DevOps teams, IT administrators, and developers focusing on large-scale automation.
The CookieHub Management API is a RESTful API that uses standard HTTP methods (GET, POST, PUT, DELETE) and JSON payloads for requests and responses. It is currently documented using the Swagger/OpenAPI specification.
Authentication is handled via an API Key. This key must be generated within your CookieHub dashboard and passed securely with every request, typically using the Authorization header as a Bearer Token. You must have Enterprise access to generate this key.
Yes, standard rate limits are in place to ensure system stability and fair usage for all Enterprise clients. If your specific workflow requires higher request volumes, please contact your dedicated CookieHub Account Manager to discuss customized limits.
Probably not. This API is for backend configuration. If you need to control the consent dialog, check a user's consent status, or conditionally load scripts, you should use the Javascript API.
©2018-2025 CookieHub ehf.
CookieHub CMP offers tools and services for managing cookies and online privacy.

