Authentication Types
Staffify supports four authentication methods.
1. Bearer Token (OAuth2)
Best for: Modern APIs, OAuth2 systems (Salesforce, HubSpot, Google)
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...2. API Key
Best for: Simple integrations, Stripe, Zendesk, Freshdesk
X-API-Key: sk_live_abc123def456...3. Basic Auth
Best for: Legacy systems, simple HTTP authentication
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=4. Custom Header
Best for: Non-standard authentication, multi-tenant systems
X-Custom-Auth: your-secret-value
X-Tenant-ID: your-tenant-123Choosing the Right Auth Method
| Your Situation | Recommended Auth | Why |
|---|---|---|
| Salesforce, HubSpot, Zoho, Pipedrive | One-Click OAuth (recommended) | Automatic setup, token refresh handled for you |
| Modern SaaS (Stripe, Zendesk) | Bearer Token or API Key | Usually provides non-expiring tokens |
| Legacy enterprise system | Basic Auth | Simple and reliable |
| Custom internal API | API Key or Custom Header | Your dev team decides |