> For the complete documentation index, see [llms.txt](https://developers.spiffy.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.spiffy.co/getting-started/private-integrations.md).

# Private Integrations

Private integrations are the fastest way to connect Spiffy to your own systems. If you're building something for internal use — an internal dashboard, a custom CRM sync, an automated workflow, a backend script — this is the right path.

{% hint style="info" %}
**Private integrations use a Spiffy API key directly.** There's no OAuth setup, no application registration, and no developer platform access required. Authenticate once and start building.
{% endhint %}

***

### Who this is for

* Developers building internal tools for their own Spiffy account
* Teams connecting Spiffy to internal systems (CRMs, ERPs, data pipelines, etc.)
* Automations that run in your own infrastructure
* Anyone prototyping or exploring the API before deciding what to build

If you're building something that other people or businesses will install and use — a plugin, an app, a third-party service — see [Third-Party Integrations](https://developers.spiffy.co/getting-started/3rd-party-integrations.md) instead.

***

### Getting your API key

Create and manage API keys in your Spiffy account dashboard under **Settings → API**. You can create multiple named keys on the same account — for example, one for Zapier, one for a CI script, and one for a custom internal tool. Naming keys by what uses them makes it easy to tell which integration to update or revoke later. An account can hold up to 10 active keys.

Each key is scoped to your account and tier, and grants full access to your account's API — there's no per-key scoping. Keep every key secret and treat it like a password. Do not commit a key to version control or expose it in client-side code.

The full key value is shown once, at creation or regeneration. Spiffy doesn't store it in plaintext, so if you lose it you'll need to regenerate the key or create a new one.

***

### Authentication

Pass your API key as a Bearer token in the `Authorization` header on every request:

```http
Authorization: Bearer YOUR_API_KEY
```

That's it. No token exchange, no redirect flow, no expiry handling required.

***

### Rotating a key

There are two ways to rotate an API key, depending on whether you need to avoid downtime:

* **Zero-downtime rotation.** Create a new key, update your integration to use it, confirm it's working, then delete the old key. Because both keys are valid at the same time, your integration keeps running throughout the switch.
* **Immediate invalidation.** If a key is exposed or compromised, regenerate it instead. Regenerating replaces the key's secret on the spot — the old value stops working immediately, and a new value takes its place. Use this when you need the old key dead right away, not when you want a clean handoff.

Both actions are available per key from **Settings → API**.

***

### Usage limits

Private integrations use your account's standard API usage limits, which are tied to your Spiffy plan tier. These limits are shared across your account — your private integration draws from the same pool as any other activity on your account.

If you're building something with high request volume, or something you expect to scale significantly, a private integration may not be the right fit long-term. See [Third-Party Integrations](https://developers.spiffy.co/getting-started/3rd-party-integrations.md) for access to higher limits and dedicated developer tooling.

***

### What you can build

Private integrations have access to the full Spiffy API surface — the same endpoints, the same data, the same capabilities as any other integration type. The difference is operational, not functional.

Head to the [API Reference](https://developers.spiffy.co/api/getting-started.md) for full endpoint documentation.

***

### Limitations

* **Account-scoped only.** Your API keys only have access to your own Spiffy account. They cannot be used to access other merchants' data.
* **Full access, no per-key scoping.** Every key on an account grants the same full access. If you need to limit what an integration can do, keep it on its own key so you can revoke it independently, but you can't restrict a key to a subset of endpoints.
* **Usage limits.** API calls count against your account's API limits, shared across all your keys.
* **Not for distribution.** 3rd party integrations cannot use API key authentication and must use the Spiffy Developer Platform which has better tooling for integration distribution.

***

### Ready to build?

1. Create an API key from **Settings → API** in your Spiffy dashboard
2. Make your first requests following the [REST API](https://developers.spiffy.co/api/getting-started.md)
