Back
DOCS
OverviewQuick StartEmbed WidgetEventsAPI ReferenceStatus PollingDocumentsRetentionBYOSExamples
OverviewQuick StartEmbed WidgetEventsAPI ReferenceStatus PollingDocumentsRetentionBYOSExamples
OverviewQuick StartEmbed WidgetEventsAPI ReferenceStatus PollingDocumentsRetentionBYOSExamples
  1. Home
  2. Docs
  3. Embed Widget

Embed Widget Configuration

The verification widget runs inside an iframe on your page. Configure it with URL parameters to match your platform's requirements.

Iframe URL Format

The embed URL follows this pattern:

https://ageevidence.com/embed/{level}?apiKey={key}&externalId={id}&theme={theme}&locale={locale}&parentOrigin={origin}

Replace {level} with one of the verification levels listed below.

Parameters

ParameterRequiredDescription
apiKeyYesYour publishable API key (pk_verify_...). Safe for browser use.
externalIdYesYour platform's unique user identifier. Used to track verification status.
themeNolight, dark, or auto. Default: dark.
localeNoen, es, pt, or fr. Default: en.
parentOriginNoYour site's origin (e.g. https://yoursite.com) for postMessage security filtering. Recommended.

Verification Levels

Choose the level that matches your compliance and business requirements:

LevelPathDescription
age_only/embed/age_onlyQuick 18+ check via face estimation. No ID document required. Can auto-approve for clearly adult faces.
full_age/embed/full_ageStrong age verification with ID document + liveness + face matching. Admin review required.
full_kyc/embed/full_kycFull identity verification. Same flow as full_age, plus 2257 performer record creation on approval.

Dimensions and Camera

Recommended dimensions: width 100%, height 600px. The widget is responsive and adapts to the container width.

The allow="camera" attribute is required on the iframe element. Without it, the browser will block camera access inside the widget and the verification flow cannot proceed.

<iframe
  src="https://ageevidence.com/embed/full_age?apiKey=pk_verify_YOUR_KEY&externalId=user_123"
  width="100%"
  height="600px"
  frameborder="0"
  allow="camera"
  style="border: none; border-radius: 12px;"
></iframe>

Theming

The widget supports three theme modes:

  • dark -- Dark background with light text. Best for dark-themed platforms. This is the default.
  • light -- Light background with dark text. Best for light-themed platforms.
  • auto -- Follows the user's system preference via prefers-color-scheme.

Pass the theme as a URL parameter: theme=dark, theme=light, or theme=auto.

© 2026 AgeEvidence. All rights reserved.
DocsPricingPrivacyTermsContact