Authentication
Authentication
All Slotflow API requests require authentication via an API key passed as a Bearer token in the Authorization header.
API key format
Slotflow API keys use the sk_live_ prefix followed by a random string:
Making authenticated requests
Include your API key in the Authorization header of every request:
Getting your API key
- Sign in to the Slotflow Dashboard
- Your API key is displayed on the Overview page
- Click the eye icon to reveal the full key, then copy it
One key per organization
Each Slotflow organization has a single API key. All humans, bookings, and webhooks created with that key are scoped to your organization. There is no way for one API key to access another organization’s data.
Regenerating your key
If your API key is compromised:
- Go to the Dashboard Overview
- Click Regenerate API Key
- Confirm the action (this is destructive)
The old key is invalidated immediately. Any requests using the old key will receive a 401 UNAUTHORIZED error. Update your agent’s configuration with the new key right away.
Error response
Requests without a valid API key receive:
Security best practices
- Never hardcode API keys in source code. Use environment variables instead.
- Never commit keys to version control. Add
.envfiles to.gitignore. - Rotate keys if leaked. Regenerate immediately from the dashboard if a key is exposed in a public repository, log file, or error message.
- Use server-side only. Never expose your API key in client-side code (browser JavaScript, mobile apps). All Slotflow API calls should be made from your backend.
- One key, one environment. Don’t share a key between production and development environments.