Authentication
API Key
All Guardian SDK communication is authenticated with an API key provided by the Surt team.
Getting Your API Key
- Contact the Surt team to get your organization credentials
- Log in to your Surt Dashboard
- Navigate to Settings → Developer
- Copy your API key
Package Access Tokens
The SDK itself is distributed as a private package. You'll also receive access tokens for package installation:
| Platform | Token Type | Where to Configure |
|---|---|---|
| React Native | npm token | .npmrc in project root |
| iOS | GitHub token | ~/.netrc |
| Android | GitHub token | gradle.properties |
See the platform-specific installation guides for details:
Environments
| Environment | Base URL | Use |
|---|---|---|
production | https://api.surt.com | Live traffic |
sandbox | https://sandbox-api.surt.com | Testing and development |
warning
Keep your API key server-side or embedded securely in native apps. The SDK handles key transmission securely. Never expose it in web client code.