Base URL
All API requests use the same base URL regardless of environment:Your Access Secret determines which environment the request is routed to, not the URL. Sandbox and Production both use the same endpoint.
API Authentication
All Truv API requests require authentication using your Client ID and Secret.Get your credentials
- Log in to dashboard.truv.com
- Navigate to Development → API Keys
- Copy your credentials
Authentication headers
Include these headers in every API request:Example Request
Environments
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://prod.truv.com/v1/ | Testing with predefined sample data |
| Production | https://prod.truv.com/v1/ | Live data, each successful task is billed |
| Prefix | Environment | Example |
|---|---|---|
sandbox- | Sandbox | sandbox-a57b3109f1f4a8b3f2ebbc1c526950f1795464af |
prod- | Production | prod-e82c4f19d3a7b6e5f0c8d2a1b4e7f3a6d9c2b5e8 |
Sandbox and production use the same base URL. Your Access Secret prefix determines which environment the request is routed to.
API Key Rotation
Rotate your API keys periodically or whenever credentials may have been compromised.Dashboard-Only Integrations
If you create Orders exclusively through the Dashboard:- Create a new key in the Truv Dashboard API Keys page
- Delete the old key. Pending transactions with the original key continue to process
API Integrations
For embedded solutions or Orders created via the API:Update all locations
Search your code for the
X-Access-Secret header and replace the old key everywhere.Security
For webhook verification and data protection guidelines, see the Security section.Next steps
Core Concepts
Understand orders, links, tasks, and the Truv data model
Security & Compliance
Data protection, encryption, and compliance guidelines