Skip to main content
API keys allow you to authenticate with the Vibe OnCall Public API and integrate with external systems without relying on user sessions. Each key is scoped to your organization and should be treated as a secret credential.

Who Can Manage API Keys

The API Keys page is available to roles that hold the Manage API keys permission. Members without it don’t see the page. Grant it from Administration → Roles when you want someone other than an admin to create, edit, or revoke keys (See Roles and permissions ).

Creating an API Key

  1. Navigate to Administration → API Keys.
  2. Click Create API Key.
  3. Enter a descriptive Name that identifies the integration this key will be used for (e.g., CI/CD Pipeline, Monitoring Script). Optionally add a Description of what the key is for.
  4. Choose an Expiration — 7 days, 30 days, 90 days, 1 year, a Custom date, or No expiration. An expiring key stops authenticating at the end of that day.
  5. Choose an Access level — Full access, Read-only, or Custom. You must pick one; see Choosing What a Key Can Do below.
  6. Click Create API Key and copy the key immediately — it is displayed only once and cannot be retrieved after you close the dialog.
API keys use the format vlk_ followed by 40 hex characters (e.g., vlk_a1b2c3d4e5f6...).

Choosing What a Key Can Do

Every key has an Access level that limits what it can do. Give each integration only the access it needs.

Using an API Key

Include the key in the Authorization header of all API requests:
A request made with a revoked or expired key is rejected with 401 Unauthorized. See Public API Reference for available endpoints and usage examples.

Managing Keys

Navigate to Administration → API Keys to view all keys for your organization. For security, only the key prefix is shown after creation — the full key is never displayed again. Keys are split into two views:
  • Active — keys that can still authenticate.
  • Inactive — keys you revoked and keys past their expiry, most recently ended first.
To find a key, search by name or prefix.

Active Keys

API Key01

Inactive Keys

API Key02

Rotating a Key

Rotating replaces a key with a new one that has the same name, description, and access, and lets the old key keep working for a grace period so you can update your integration without an outage.
  1. On Administration → API Keys, find the key and click Rotate.
  2. Under Current key expires, choose how long the old key keeps working: Now, In 1 hour, In 24 hours, or In 7 days.
  3. Under New key expires, choose an expiration for the new key.
  4. Click Rotate Key and copy the new key immediately — it is displayed only once.
  5. Update your integration to use the new key. Once the old key’s grace period ends it stops authenticating and moves to Inactive.
Other details worth knowing:
  • The new key can’t expire before the old key does.
  • To end the grace period early, revoke the old key.
  • An expired key can’t be rotated, and neither can a key whose old key is still in its grace period.

Request Log

Open the Requests tab on the API Keys page (or click View requests on a key) to see every request made with your keys, newest first. Every request authenticated with one of your keys is recorded — including ones rejected with 401 because the key was revoked or expired. That makes the log the quickest way to answer two questions:
  • Is this key still in use? Filter by Key and check whether anything has come in recently before you revoke it.
  • Is something still using a key I retired? Filter Status to 4xx — a stream of 401s from one IP or user agent points straight at the integration you forgot to update.
API Key03

History

Open the History tab on the API Keys page to see every change made to your keys: creating, renaming, changing the expiry or Access, rotating, and revoking. Each entry shows who made the change and when, and you can filter by key. Revoked keys stay in the history.

Best Practices

  • Create separate keys for each integration rather than sharing a single key across systems.
  • Give every key an expiration. It is easier to extend a key you still need than to find one that should have been retired.
  • Rotate keys periodically: create a new key, update the integration, confirm in the Request Log that the old key has gone quiet, then revoke it.
  • Revoke any keys that are no longer in active use — Last Used tells you which ones those are.
  • Never commit API keys to version control or share them in plain text (e.g., in Slack messages or documentation).