Authmatech provides a sandbox so you can build and test without affecting production traffic or consuming live balance. See Testing & environments for details.
Get your credentials
Sign in to the Authmatech dashboard. Generate your API key and copy two values:
- Client ID — sent as the
X-CLIENT-IDheader on every request. - API key — sent as the
X-API-KEYheader on every request.
Confirm a mobile identity with cURL
From your backend, run the request below. Replace the credentials and the
mobileNumber. In a real integration, encryptedMobileNumber and operatorId come from the Authmatech SDK after mobile-network header enrichment — see How silent verification works.| Part | Description |
|---|---|
POST /v1/api/verify | The Verify endpoint |
X-API-KEY | Your server-side API key |
X-CLIENT-ID | Your Client ID |
mobileNumber | The number the customer claims, in E.164 format |
encryptedMobileNumber | The encrypted proof of possession returned by the SDK |
operatorId | The mobile network operator that enriched the session |
serviceType | The use case: REGISTRATION, LOGIN, RESET_PASS, UPDATE_DETAILS, or TRANSACTION |
sdkSessionId | Optional — links the verification to a stored SDK session for Shield/Detect |
Read the response
A successful request returns HTTP
See the Error reference for the full list.
200 OK. Authmatech wraps every response in a consistent envelope: a success flag, a messages array, and a data payload.data.validNumber is the verdict: true means the customer controls the number they presented. Add ?maskMobile=true to also receive a masked copy of the confirmed number (e.g. ********67).If something is wrong, success is false and the messages array explains why. The most common first-call issues:| Status | Likely cause |
|---|---|
401 Unauthorized | Missing or invalid X-API-KEY / X-CLIENT-ID |
400 Bad Request | A required field is missing or the body is malformed |
400 Bad Request | Insufficient or expired balance, or the product isn’t enabled for your account |
Add intelligence to the decision
Once a number is verified, enrich the decision using the same session:Trust score
Turn the signals into a single 0–100 trust score with a recommendation.
Shield assessment
Get a real-time risk decision: ALLOW, CHALLENGE, REVIEW, or BLOCK.
What’s next?
Authentication
Header details, credential types, and security best practices.
Web SDK
Run silent verification in the browser, end to end.
Verify guide
The full server-side verification flow and edge cases.
API reference
Every endpoint with an interactive playground.