Authentication Overview

Learn how to authorize your scripts or integrations safely.

Header-Based Bearer Token Auth

Sterling Analytics API requires header validation for all incoming traffic.

All HTTP requests to any endpoint must include an Authorization header containing your private secret token.

# Example request with authentication header: curl -H "Authorization: Bearer $SECRET" https://api.sterling.fashion/api/sales