Skip to main content
API keys provide programmatic access to the Blink API. Use them to integrate Blink with your CI/CD pipelines, scripts, or other automation tools.

Creating API Keys

Create API keys through the Blink web UI:
  1. Navigate to your *User settings (top right corner)
  2. Go to SettingsAPI Keys
  3. Click Create API Key
  4. Optionally provide a name for the key
  5. Copy and save the key immediately
The full API key is shown only once during creation. Store it securely as you cannot retrieve it later.

API Key Format

API keys follow this format:
bk_<lookup>_<secret>
  • bk - Fixed prefix identifying Blink API keys
  • lookup - 12-character identifier
  • secret - 32-character secret

Using API Keys

Include the API key in the Authorization header:
curl -H "Authorization: Bearer bk_xxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
  https://blink.example.com/api/users/me

Key Properties

Each API key has:
PropertyDescription
NameOptional friendly name for identification
PermissionsAccess level (currently all keys have full access)
CreatedWhen the key was created
Last UsedWhen the key was last used for authentication
ExpiresExpiration date (default: 1 year from creation)

Revoking API Keys

Revoke API keys that are no longer needed or may have been compromised:
  1. Navigate to SettingsAPI Keys
  2. Find the key you want to revoke
  3. Click the Revoke button
Revoked keys are immediately invalidated and cannot be restored.