Skip to main content

API Keys

Key Pair Structure

Each API key consists of two parts:

PartPrefix (live)Prefix (test)Description
Key IDwc_live_wc_test_Public identifier — safe to log
Secretwcs_live_wcs_test_Private secret — never log or expose

Security Best Practices

  • Store secrets in environment variables, not in source code
  • Use separate keys per integration / environment
  • Assign only the minimum scopes needed
  • Rotate keys periodically
  • Revoke keys immediately if compromised

Managing Keys

Keys are managed in Org Console → Clinic Settings → Developer API.

You can:

  • View all active keys and their scopes
  • Create new key pairs
  • Revoke (cancel) individual keys