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

# API keys

> Create, store and revoke the workspace keys that authenticate the agent API.

API keys give your systems programmatic access to the workspace — they authenticate
every call to the [agent API](https://equatetravel.ai/docs/api-reference/introduction.md). Managing them is
**admin-only**, because a key can read the workspace's data, including invoices and
financials.

## Creating a key

**1. Open Organisation → Keys & secrets**

You'll also find your **workspace ID** here, ready to copy, and every webhook's
signing secret with its rotation controls.

**2. Create key**

Name it after the system that will use it — e.g. *Accounting system* — so you can
tell keys apart later.

**3. Copy it now**

The full key — `ip_live_…` — is shown **once**. Store it in your secret manager;
equate keeps only a hash and can never show it again.

Afterwards the list shows each key's name, display prefix (e.g. `ip_live_a1b2c3d4`),
created date and **last used** date — enough to identify a key without revealing it.

## Using a key

Send it as a bearer token:

```bash theme={null}
curl https://equatetravel.ai/api/v1/agents/cruise-invoices/run \
  -H "Authorization: Bearer ip_live_..."
```

See [authentication](https://equatetravel.ai/docs/api-reference/authentication.md) for the full details and error
codes.

## Revoking & rotating

* **Revoke** a key from the list at any moment — calls with it fail immediately with
  `UNAUTHORIZED`.
* To **rotate**, create a new key, switch your system over, then revoke the old one —
  there's no downtime window.

## Keeping keys safe

* **One key per system**, named for it — so a leak is contained and revocation is
  surgical.
* **Never ship a key client-side** (browser, mobile app) — call the API from your
  server.
* **Watch "last used"** — a key that's never used, or used when it shouldn't be, is a
  signal.
* **Rotate when people leave** the team that held the secret.

> [card] [Next: call the agent API](https://equatetravel.ai/docs/api-reference/quickstart.md)
>
> Process your first invoice through the API in under five minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.