LegalBannerHelp CenterBack to home
All categories

API & SDK

Technical documentation for developers

SDK Configuration

Configure the LegalBanner script tag with attributes for site ID, async loading, and more.

Feb 27, 2026

JavaScript API Reference

Use the window.LegalBanner API to programmatically check consent, listen for changes, and control the banner.

Feb 27, 2026

Webhooks and Scheduled Tasks

How LegalBanner handles Stripe webhooks, scheduled scans, and background processing.

Mar 5, 2026

Consent Events and Data Flow

How consent events are captured, stored, and exported for compliance auditing.

Mar 5, 2026

SDK Script Tag Attributes

Complete reference for all data attributes supported by the LegalBanner script tag.

Mar 5, 2026