API key

An API key authenticates requests to the Infinite 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.

By , Cofounder & CEO

In practice

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.

FAQ

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.

See it on your own flows.

A 30-minute walkthrough of a live account and the screening record behind each payment.

Ask an AI about API keyChatGPTClaudePerplexityGeminiGrok