Skip to main content
DocsCustom IntegrationsAuthentication Types

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-123

Choosing the Right Auth Method

Your SituationRecommended AuthWhy
Salesforce, HubSpot, Zoho, PipedriveOne-Click OAuth (recommended)Automatic setup, token refresh handled for you
Modern SaaS (Stripe, Zendesk)Bearer Token or API KeyUsually provides non-expiring tokens
Legacy enterprise systemBasic AuthSimple and reliable
Custom internal APIAPI Key or Custom HeaderYour dev team decides
Custom Integrations - Authentication Types