The Spiffy API supports two authentication methods. Which one you use depends on the type of integration you're building.
API Key
OAuth 2.0
For
Private integrations
Third-party integrations
Access scope
Your account only
Any merchant who authorizes your app
Setup
Copy key from dashboard
Register OAuth client on Developer Platform
API Key
API key authentication is the simplest way to access the Spiffy API. It's intended for private integrations — internal tools and scripts that connect to your own Spiffy account.
Your API key is available in your Spiffy dashboard under Settings → API.
Pass your API key as a Bearer token in the Authorization header on every request:
Authorization: Bearer YOUR_API_KEY
Security:
Treat your API key like a password. Do not commit it to version control or expose it in client-side code.
If a key is compromised, regenerate it immediately from Settings → API. The old key is invalidated instantly.
OAuth 2.0
OAuth 2.0 is required for third-party integrations — apps that connect to other merchants' Spiffy accounts on their behalf.