1. Developer-Reference
  • Getting-Started
    • CYBEXO Developer Documentation
    • Quickstart (5 to 10 Minutes)
    • Documentation Overview
    • Concepts and Glossary
  • Compliance-and-Standards
    • Compliance Overview
    • IAB TCF v2.3 Support
    • Google Consent Mode v2 Validation
    • TCF API Validation
    • Audit Checklist (Pre-Launch)
  • Web-and-CMS-Integrations
    • CYBEXO CMP SDK – Web & GTM Setup
    • Integrate CYBEXO CMP with Webflow and Wix
    • Integrate CYBEXO CMP with WordPress
    • Integrate CYBEXO CMP with Drupal
    • Integrate CYBEXO CMP with Shopify
  • Mobile-SDKs
    • CYBEXO CMP SDK - iOS Setup
    • iOS SDK API Reference
    • CYBEXO CMP SDK - Android Setup
    • Android SDK API Reference
    • App Attribution Partner (AAP) Integrations
  • Developer-Reference
    • Web JS API Reference
    • Consent Event Schema
    • Deployment and Environments
    • CYBEXO Debug Tool
    • Troubleshooting Playbook
    • Performance and Best Practices
    • Accessibility and UX Guidelines
    • Localization Workflow
    • Migration Guide
  • Security-and-Privacy
    • Security Overview
    • Privacy Architecture
    • Data and Logging Transparency
    • Subprocessors
    • CSP and Network Allowlist
  • Enterprise-and-Legal
    • DPA and Legal Pack
    • RFP Feature Matrix
    • Status and Reliability
    • Support and Escalation
    • CYBEXO CMP SDK – Commercial Licence
  • Operations
    • Changelog and Version Policy
  1. Developer-Reference

Web JS API Reference

Last updated: February 18, 2026
This reference covers documented public API methods for web integrations.

1. window.CYBEXOCMP.initialize(settingsId)#

Purpose:
initializes CMP runtime with provided Settings ID
Parameters:
settingsId (string, required)
Returns:
implementation-defined value; use completion callbacks/events where applicable

2. window.CYBEXOCMP.showBanner(options)#

Purpose:
opens consent banner UI
Parameters:
options.force (boolean, optional): reopen even if consent exists

3. window.CYBEXOCMP.acceptAllSelections()#

Purpose:
grants all configurable consent categories in one action

4. window.CYBEXOCMP.rejectAllSelections()#

Purpose:
rejects non-essential categories in one action

5. window.CYBEXOCMP.applyCustomSelections(purposes, vendors)#

Purpose:
applies granular selections from custom UI
Parameters:
purposes (object/map)
vendors (object/map)

6. Notes#

API availability depends on successful loader initialization.
Keep custom calls behind existence checks in production:
Previous
App Attribution Partner (AAP) Integrations
Next
Consent Event Schema