Skip to Content
DeploymentWidget Publishable Keys

Widget Publishable Keys

Widget APIs authenticate with X-Widget-Publishable-Key.

Key Properties

  • Generated format: wpk_live_<random>
  • Stored server-side as SHA-256 hash
  • Can be scoped per agent
  • Can be revoked

Key Management Workflow

  1. Go to Deploy for the target agent.
  2. Create a key with a clear name.
  3. Add it to your website embed snippet as data-widget-key.
  4. Rotate and revoke as part of routine security hygiene.

Security Practices

  • Publishable keys are expected to be exposed in client-side embed code.
  • Use separate keys for staging and production.
  • Rotate keys after team transitions or suspected leakage.
Last updated on
Dukon | Docs