Overview
Sticker uses API Key authentication to secure all partner API requests. Your API key identifies your partner account and authorizes access to your organizations and users.API Key Authentication
Getting Your API Key
Contact the Sticker team to receive your API credentials:- Partner ID (UUID) - Your unique partner identifier
- API Key (string) - Starts with
sk_live_orsk_test_
Authentication Headers
Organization Setup Endpoint
Use theAuthorization: Bearer header:
Partner Handshake Endpoint
Use theX-API-Key header:
API Environments
| Environment | Base URL | Key Prefix |
|---|---|---|
| Production | https://api.usesticker.com/v1 | sk_live_ |
| Staging/Sandbox | https://api.staging.usesticker.com/v1 | sk_test_ |
Use sandbox credentials for development and testing. Sandbox data is isolated from production.
Security Best Practices
Server-Side Only
Server-Side Only
Never expose your API key in client-side code.Your backend should:
- Receive requests from your frontend
- Make authenticated requests to Sticker API
- Return results to your frontend
Environment Variables
Environment Variables
Store API keys in environment variables, never in code:
Key Rotation
Key Rotation
If you suspect your API key has been compromised:
- Contact Sticker support immediately
- We’ll issue a new key
- Update your environment variables
- Redeploy your application
Audit Logging
Audit Logging
Sticker logs all API requests with:
- Timestamp
- Partner ID
- Endpoint called
- Response status
- IP address
Error Responses
401 Unauthorized
Returned when authentication fails:- Missing
AuthorizationorX-API-Keyheader - Invalid or expired API key
- Using production key in sandbox or vice versa
403 Forbidden
Returned when authenticated but not authorized:- API key lacks required permissions/scope
- Trying to access resources belonging to another partner
Session Tokens
When users access the embedded iframe, they use session tokens instead of API keys. Session tokens are:| Property | Description |
|---|---|
| Short-lived | Expire after 5 minutes |
| Single-use | Invalidated after first use |
| User-bound | Tied to a specific user profile |
| Secure | 64-character cryptographically random hex strings |
Rate Limits
| Endpoint | Rate Limit |
|---|---|
/v1/organizations/setup | 100 requests/minute |
/v1/partner/handshake | 300 requests/minute |
429 Too Many Requests response:

