Finding your credentials
Your credentials live in the Authmatech dashboard:- Client ID — always visible in your account.
- API key — generated on demand. The raw key is displayed once at generation; afterward only its fingerprint is stored. If you lose it, rotate to issue a new one.
Including credentials in requests
Send both headers on every request:Credential types
Authmatech issues different credentials for different surfaces. Use the right one for the right place.The SDK token exists precisely so you never put your API key in app code. The native mobile SDKs register a session with the SDK token; your backend then performs the verification with the API key. The browser Web SDK needs no credential client-side — it runs against a transaction id, and your backend resolves the result with the API key.
Rotating your API key
Rotate from the dashboard or via the API whenever a key may be exposed, or on a regular schedule:POST /v1/api/me/api-key/rotate— rotate your own key (requires your client secret).POST /v1/api/clients/rotate-key— rotate by client.
Security best practices
- Never commit keys to source control. Use environment variables or a secrets manager. Add
.envto.gitignore. - Never expose the API key client-side. Browser bundles and mobile apps are publicly readable. Use the SDK token in native apps; the Web SDK keeps the key on your server by design.
- Reference keys from the environment in production —
process.env.AUTHMATECH_API_KEY(Node.js),os.environ["AUTHMATECH_API_KEY"](Python). - Rotate on exposure and on a schedule.
Authentication errors
If either header is missing or the key is invalid, the API returns401 Unauthorized.
Next steps
Quickstart
See authentication in a complete working call.
API authentication reference
The headers, scopes, and error shapes in detail.

