> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hireloam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Keys

> Generate and manage API keys for the Loam REST API.

API keys let you authenticate with Loam's REST API for custom integrations, internal tooling, and direct backend-to-backend access.

## Creating a key

<Note>
  Only Admins can create and revoke API keys.
</Note>

1. Go to **Settings** → **API Keys**
2. Click **Create Key** and give it a name (e.g., "Warehouse sync")
3. Copy the key (prefixed with `lk_`) — it's shown **only once**

<Warning>
  API keys grant full read and write access to your organization's data. Treat them like passwords.
</Warning>

## Using API keys

**REST API** — Include the key as a Bearer token:

```bash theme={null}
curl -H "Authorization: Bearer lk_your_api_key" \
  https://hireloam.com/api/v1/jobs
```

For MCP connections, use the separate [MCP Setup](/help/ai-features/mcp-setup) flow.

## Managing keys

On the API Keys page, view all active keys with their name, masked preview, last used date, and creation date. Revoke any key instantly — revoked keys stop working immediately.
