---
title: "API key"
description: "The credential that authenticates API requests, with separate sandbox and live keys and narrower scoped keys for agents."
author: "Nikhil Srinivasan, Cofounder & CEO"
updated: "2026-11"
canonical: "https://infinite.net/resources/learn/glossary/api-key"
---

# API key

An API key authenticates requests to the Infinite (infinite.net) API, sent as a bearer token. Organization keys come in sandbox and live forms, so integration work can be built and tested without moving real funds. Agent keys are narrower: they carry fixed scopes and act only as the agent they belong to, within that agent’s limits. A key’s secret is shown once at creation and should be stored securely.

Keeping sandbox and live keys separate is the first control: development happens against the sandbox environment, and live keys are used only when a flow is ready for production.

Keys can be revoked. Revoking an agent revokes every key on it, and requests that use an invalid key, omit the header, or lack permission return distinct errors.

## Frequently asked questions

### Where do I send the key?

In the Authorization header as a bearer token on every request. Never place it in client-side code or logs.

### Can a lost key secret be recovered?

No. The secret is returned only once. Create a new key and revoke the old one.

## Where it fits on Infinite

- [Compliance for agents](https://infinite.net/agents/compliance-agent)
- [Wallet Accounts](https://infinite.net/accounts/wallets)
- [Embedded Compliance](https://infinite.net/compliance)

## See also

- [Sandbox environment](https://infinite.net/resources/learn/glossary/sandbox-environment.md)
- [Agent](https://infinite.net/resources/learn/glossary/agent.md)
- [Agent authorization](https://infinite.net/resources/learn/glossary/agent-authorization.md)
