Context7 Platform -- Up-to-date docs for AI agents
---
title: Manage API Keys
description: Create and manage API keys for Context7 authentication
---
API keys authenticate your requests to Context7's documentation services. You can create one in the [Context7 dashboard](https://context7.com/dashboard).
A key created with **Management access** can manage a teamspace through the [Context7 Admin MCP](/howto/admin-mcp) and the [management API](/api-reference/teamspaces/list-teamspaces): its members, libraries, rules and policies, usage, and Docs7 and Ask sites. A key without management access is refused, and a key reaches only its own teamspace.
## Managing API Keys

### Creating API Keys
<Steps>
<Step title="Open the create dialog">
Click **Create API Key** in the API Keys card.
</Step>
<Step title="Name the key">
Enter a name (optional but recommended). Descriptive names like "Cursor", "Claude", "VS Code", or "Devin Desktop" help you identify the key later.
</Step>
<Step title="Copy the key immediately">
Keys are shown only once for security. The format is `ctx7sk-**********************`.
</Step>
<Step title="Use the key">
Use it in your requests or MCP configuration:
```bash
curl "https://context7.com/api/v2/context?libraryId=/vercel/next.js&query=routing" \
-H "Authorization: Bearer YOUR_API_KEY"
```
</Step>
</Steps>
<Warning>Store your API key securely. You won't be able to see it again after creation.</Warning>
### Revoking Keys
<Steps>
<Step title="Delete the key">
Click the delete button next to the key you no longer need.
</Step>
<Step title="Confirm deletion">
Confirm in the modal. The key deactivates immediately — all requests using it will fail.
</Step>
</Steps>
<Note>
Revoking a key is permanent and cannot be undone. Update any applications using the key before
revoking.
</Note>