Overview
The Sticker Partner API uses API key authentication. Your API key identifies your partner account and authorizes access to your organizations and users.Getting API Credentials
Contact the Sticker team to receive:- Partner ID (UUID) - Your unique partner identifier
- API Key (string) - Starts with
sk_live_orsk_test_
Authentication Headers
Different endpoints use different authentication headers:Organization Setup Endpoint
Partner Handshake Endpoint
Code Examples
Error Responses
401 Unauthorized
- Missing authentication header
- Invalid API key
- Using wrong header (
AuthorizationvsX-API-Key) - Using production key in sandbox or vice versa
403 Forbidden
- API key lacks required permissions
- Trying to access resources from another partner
Security Best Practices
Server-Side Only
Server-Side Only
Never expose your API key in client-side code.
Environment Variables
Environment Variables
Store API keys in environment variables:
Key Rotation
Key Rotation
If your key is compromised:
- Contact Sticker support immediately
- We’ll issue a new key
- Update your environment variables
- Redeploy your application
Session Tokens vs API Keys
Testing Authentication
Next Steps
Organization Setup
Provision organizations and users
Partner Handshake
Authenticate users for iframe access

