Skip to main content

Authentication

All API requests are authenticated using an API key passed as a Bearer token in the Authorization header.

Getting your API key

  1. Sign in at app.edge.bh
  2. Navigate to API Keys
  3. Click Create API Key
  4. Copy the key immediately — it’s shown only once

Using your API key

Include the Authorization: Bearer header in every request:

Key format

API keys follow the format sk_live_ followed by a random string. Example: sk_live_abc123def456...

Security

  • Keys are hashed with SHA-256 before storage. Edge never stores your raw key.
  • Keys are shown once on creation. If you lose it, revoke it and create a new one.
  • Set an expiration date when creating keys for additional security.
  • Revoke keys immediately if compromised — go to API Keys and click Revoke.

Key management

Error responses