API Keys
Creating and managing API keys for TrustNXT services
API Keys
All TrustNXT services require an API key for authentication. This guide explains how to create and manage your API keys.
Creating API Keys
API keys are created and managed through the TrustNXT organization dashboard.
- Log in to the TrustNXT Dashboard.
- Navigate to Settings → API Keys.
- Click Create New Key and provide a descriptive name for the key.
- Copy the generated API key — it will only be shown once.
Each organization can create multiple API keys. We recommend using separate keys for different applications or environments (e.g., development vs. production).
API Secrets
Some TrustNXT services, such as the React SDK, require an additional API secret alongside your API key. The API secret is generated together with the API key and provides an extra layer of authentication.
- Your API secret is shown once when the key is created — make sure to copy it along with the API key.
- If you lose the API secret, you will need to create a new API key.
API Key Security
- Never share your API keys or secrets in publicly accessible areas such as GitHub or client-side code
- Implement proper access controls to limit who can view your API keys and secrets
- Make sure to implement security measures to prevent key extraction from your distributed app
- Rotate your keys periodically and revoke any keys that may have been compromised
Authentication
Include your API key in the request header when calling TrustNXT REST APIs:
X-API-Key: YOUR_API_KEYWhen using the React SDK, pass both the key and secret:
const capture = useCapture({
mode: "image",
apiKey: "tnxt_live_...",
apiSecret: "tnxt_secret_...",
// ...
});Billing
TrustNXT uses a usage-based billing model that tracks the number of API calls made to our services.
Our system automatically tracks:
- Protect API Calls: Each time you capture and protect a media asset
- Inspect API Calls: Each time you submit an asset for inspection
Usage and billing cycles run on a monthly basis. Usage limits may apply depending on your billing tier and agreement. Please contact your account representative for more information.