Filecheck uses two key types. Get both from the dashboard.
Never expose a secret key (sk_…) in client-side code, a public repository, or a mobile app bundle. Use it only from your server.
Test and live modes
*_test_… keys run against test data and never bill. *_live_… keys run in production. Swap the key prefix to switch modes; no other code changes are required.
Agent ID (optional)
An agentId (agt_…) scopes the Element to a specific sub-tenant or store. This is useful when one Filecheck account powers multiple storefronts.
Using the keys
- Publishable key initializes the Element in the browser.
- Secret key authenticates server-side requests to the API with a bearer token: