> ## Documentation Index
> Fetch the complete documentation index at: https://emotion-trac.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Use your partner API key from your integration server.

Every API request requires a partner-specific key:

```http theme={null}
Authorization: Bearer YOUR_PARTNER_API_KEY
```

Your EmotionTrac contact provides the key through a secure channel. Keep it in
your server’s secret manager. Do not put it in browser code, URLs, tickets, or logs.

The authenticated key identifies your partner account. The form’s `firmName`
is prefilled client data and never grants access. You can create and check only
your own partner’s drafts.

## Key replacement

Contact EmotionTrac to issue a replacement or revoke a key. Replacement keys for
the same partner retain access to the same drafts and request IDs. Keys remain
valid until revoked; a revoked key immediately receives `401 Unauthorized`.

## Limits

| Limit | Value |
| - | - |
| Requests | 60 per minute per partner, shared across keys and endpoints |
| JSON body | 65,536 bytes (64 KiB) |
| Request ID | 1–128 characters; letters, digits, `.`, `_`, `:`, `-` |

The rate limit uses a fixed one-minute window. A `429` response includes
`Retry-After: 60`. Wait at least that long before retrying. Rotating keys does
not reset your partner’s limit.

The API is intended for server-to-server calls. It does not use staff sessions
or expose a browser integration through CORS. Successful and error responses
use `Cache-Control: private, no-store`.


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