Skip to main content

Endpoints

GET

List all keys

POST

Create new key

DELETE

Revoke key

List API Keys

GET /v1/dev/keys

Retrieve all your developer API keys
This endpoint requires authentication with an existing API key or user session. The secret key values are not returned (only the prefix is shown).

Response Example


Create API Key

POST /v1/dev/keys

Create a new developer API key

Request Body

Response Example

The full API key (key field) is only returned once during creation. Store it securely immediately - you won’t be able to see it again!

Revoke API Key

DELETE /v1/dev/keys/{key_id}

Revoke (delete) a specific API key permanently

Path Parameters

Response

If a key is compromised, revoke it immediately and create a new one.

Best Practices

Use Descriptive Names

Name keys after their purpose (e.g., “Analytics Dashboard”, “Zapier Integration”)

One Key Per Application

Create separate keys for different apps so you can revoke them independently

Monitor Usage

Check last_used_at to identify unused or potentially compromised keys

Rotate Regularly

Periodically create new keys and revoke old ones

Use Case: Key Management Script


Managing Keys in the App

You can also manage API keys directly in the Omi app:

Open Omi App

Launch the Omi app on your device

Navigate to Settings

Go to Settings → Developer

Manage Keys

Under “Developer API Keys” you can:
  • View all your keys
  • Create new keys
  • Delete existing keys
Keys created in the app and via the API are the same - you can manage them from either place.