Skip to main content
The Authmatech Web SDK (authmatech-sdk-web) runs silent mobile verification in the mobile browser. It is client-side only — you give it a transaction id and a check URL, it runs the silent network check, and your backend completes the verification with the server-side API key. The SDK never holds your API key. For the end-to-end integration (including your backend), see Web verification.
The Web SDK is built for mobile browsers on a mobile-data connection. Desktop browsers and Wi-Fi/VPN connections can’t complete the silent check — plan a fallback, such as manual entry or retrying on mobile data.

Install

Current version: 1.0.3. The page must be served over HTTPS.

Usage

ES module (Webpack, Rollup, Vite, etc.)

UMD bundle (<script> tag)

API

initAuthmatechCheck(config)

Runs the silent verification check for the given transaction over the device’s mobile-data connection.
string
required
The transaction id for this verification, in the format prefix-<UUIDv4>. The prefix is provided by Authmatech for your account; generate the UUID per verification.
string
required
The verification URL for your account, provided by Authmatech. Must use https.
The call throws if:
  • transactionId is missing or empty.
  • checkUrl is missing, invalid, or not using the https protocol.
The SDK stores no personal data and keeps nothing in local storage. It does not return the confirmed number to the browser — your backend resolves the result by transaction id (next section).

Completing the verification

The Web SDK runs the silent check; your backend turns it into a verdict. Call POST /v1/api/verify/{transactionId} with the same transactionId and the X-API-KEY + X-CLIENT-ID headers:

Web verification guide

The full browser + backend flow, end to end.

API: verify (Web)

Resolve a verification by transaction id.