API Authentication
Using API keys and the Authorization header with the MagenTrust API.
All API requests must include an API key in the Authorization header:
Authorization: Bearer YOUR_SECRET_KEY
Public API Key is used for client-side calls (e.g. /v1/verify). It is safe to expose in the browser.
Secret Key is used for server-side only (e.g. /v1/validate-token, /v1/analytics). Never expose it in client code.
See API Key Management for rotation and best practices.