Skip to main content

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_ or sk_test_
Keep your API key secret! Never expose it in frontend code, public repositories, or browser network requests.

Authentication Headers

Different endpoints use different authentication headers:

Organization Setup Endpoint

Partner Handshake Endpoint

Code Examples

Error Responses

401 Unauthorized

Common causes:
  • Missing authentication header
  • Invalid API key
  • Using wrong header (Authorization vs X-API-Key)
  • Using production key in sandbox or vice versa

403 Forbidden

Common causes:
  • API key lacks required permissions
  • Trying to access resources from another partner

Security Best Practices

Never expose your API key in client-side code.
Store API keys in environment variables:
If your key is compromised:
  1. Contact Sticker support immediately
  2. We’ll issue a new key
  3. Update your environment variables
  4. 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