Skip to main content
API keys are used to authenticate requests to the Adapter API. You create and manage them directly from the Adapter console.

Creating an API Key

1

Open the Console

Log in at app.adapter.com and navigate to Settings → API Keys
2

Create a New Key

Click Create API Key. Optionally give it a name — if you leave it blank, one will be generated for you.
3

Copy and Store It

Copy your key immediately — it won’t be shown again. Store it as an environment variable and never commit it to source control:
ADAPTER_API_KEY=your_api_key_here

Using Your API Key

Your API key authenticates requests across the SDK, CLI, and direct API calls.
adapter login
# paste your API key when prompted

Revoking a Key

To revoke a key, go to Settings → API Keys in the console, find the key, and click Revoke. The key is invalidated immediately. If you suspect a key has been leaked, revoke it right away and create a new one.