Endpoints
Get unified mobile identity trust score
Aggregates network, device, verification, and behavioral signals into a single 0–100 trust score with a business-friendly recommendation.
POST
/
v1
/
api
/
trust
/
score
Get unified mobile identity trust score
curl --request POST \
--url http://service.authmatech.com/v1/api/trust/score \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-CLIENT-ID: <x-client-id>' \
--data '
{
"mobileNumber": "<string>",
"metadataId": "<string>",
"sessionId": "<string>",
"device": {
"platform": "<string>",
"osVersion": "<string>",
"model": "<string>",
"appVersion": "<string>",
"sdkVersion": "<string>",
"isRooted": true,
"isEmulator": true,
"vpnDetected": true,
"proxyDetected": true,
"appIntegrityStatus": "<string>",
"deviceId": "<string>"
},
"network": {
"ipAddress": "<string>",
"countryCode": "<string>",
"operator": "<string>",
"connectionType": "<string>"
}
}
'import requests
url = "http://service.authmatech.com/v1/api/trust/score"
payload = {
"mobileNumber": "<string>",
"metadataId": "<string>",
"sessionId": "<string>",
"device": {
"platform": "<string>",
"osVersion": "<string>",
"model": "<string>",
"appVersion": "<string>",
"sdkVersion": "<string>",
"isRooted": True,
"isEmulator": True,
"vpnDetected": True,
"proxyDetected": True,
"appIntegrityStatus": "<string>",
"deviceId": "<string>"
},
"network": {
"ipAddress": "<string>",
"countryCode": "<string>",
"operator": "<string>",
"connectionType": "<string>"
}
}
headers = {
"X-CLIENT-ID": "<x-client-id>",
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-CLIENT-ID': '<x-client-id>',
'X-API-KEY': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
mobileNumber: '<string>',
metadataId: '<string>',
sessionId: '<string>',
device: {
platform: '<string>',
osVersion: '<string>',
model: '<string>',
appVersion: '<string>',
sdkVersion: '<string>',
isRooted: true,
isEmulator: true,
vpnDetected: true,
proxyDetected: true,
appIntegrityStatus: '<string>',
deviceId: '<string>'
},
network: {
ipAddress: '<string>',
countryCode: '<string>',
operator: '<string>',
connectionType: '<string>'
}
})
};
fetch('http://service.authmatech.com/v1/api/trust/score', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://service.authmatech.com/v1/api/trust/score",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'mobileNumber' => '<string>',
'metadataId' => '<string>',
'sessionId' => '<string>',
'device' => [
'platform' => '<string>',
'osVersion' => '<string>',
'model' => '<string>',
'appVersion' => '<string>',
'sdkVersion' => '<string>',
'isRooted' => true,
'isEmulator' => true,
'vpnDetected' => true,
'proxyDetected' => true,
'appIntegrityStatus' => '<string>',
'deviceId' => '<string>'
],
'network' => [
'ipAddress' => '<string>',
'countryCode' => '<string>',
'operator' => '<string>',
'connectionType' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>",
"X-CLIENT-ID: <x-client-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://service.authmatech.com/v1/api/trust/score"
payload := strings.NewReader("{\n \"mobileNumber\": \"<string>\",\n \"metadataId\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"device\": {\n \"platform\": \"<string>\",\n \"osVersion\": \"<string>\",\n \"model\": \"<string>\",\n \"appVersion\": \"<string>\",\n \"sdkVersion\": \"<string>\",\n \"isRooted\": true,\n \"isEmulator\": true,\n \"vpnDetected\": true,\n \"proxyDetected\": true,\n \"appIntegrityStatus\": \"<string>\",\n \"deviceId\": \"<string>\"\n },\n \"network\": {\n \"ipAddress\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"operator\": \"<string>\",\n \"connectionType\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-CLIENT-ID", "<x-client-id>")
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://service.authmatech.com/v1/api/trust/score")
.header("X-CLIENT-ID", "<x-client-id>")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"mobileNumber\": \"<string>\",\n \"metadataId\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"device\": {\n \"platform\": \"<string>\",\n \"osVersion\": \"<string>\",\n \"model\": \"<string>\",\n \"appVersion\": \"<string>\",\n \"sdkVersion\": \"<string>\",\n \"isRooted\": true,\n \"isEmulator\": true,\n \"vpnDetected\": true,\n \"proxyDetected\": true,\n \"appIntegrityStatus\": \"<string>\",\n \"deviceId\": \"<string>\"\n },\n \"network\": {\n \"ipAddress\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"operator\": \"<string>\",\n \"connectionType\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://service.authmatech.com/v1/api/trust/score")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["X-CLIENT-ID"] = '<x-client-id>'
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"mobileNumber\": \"<string>\",\n \"metadataId\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"device\": {\n \"platform\": \"<string>\",\n \"osVersion\": \"<string>\",\n \"model\": \"<string>\",\n \"appVersion\": \"<string>\",\n \"sdkVersion\": \"<string>\",\n \"isRooted\": true,\n \"isEmulator\": true,\n \"vpnDetected\": true,\n \"proxyDetected\": true,\n \"appIntegrityStatus\": \"<string>\",\n \"deviceId\": \"<string>\"\n },\n \"network\": {\n \"ipAddress\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"operator\": \"<string>\",\n \"connectionType\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{}⌘I
Get unified mobile identity trust score
curl --request POST \
--url http://service.authmatech.com/v1/api/trust/score \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--header 'X-CLIENT-ID: <x-client-id>' \
--data '
{
"mobileNumber": "<string>",
"metadataId": "<string>",
"sessionId": "<string>",
"device": {
"platform": "<string>",
"osVersion": "<string>",
"model": "<string>",
"appVersion": "<string>",
"sdkVersion": "<string>",
"isRooted": true,
"isEmulator": true,
"vpnDetected": true,
"proxyDetected": true,
"appIntegrityStatus": "<string>",
"deviceId": "<string>"
},
"network": {
"ipAddress": "<string>",
"countryCode": "<string>",
"operator": "<string>",
"connectionType": "<string>"
}
}
'import requests
url = "http://service.authmatech.com/v1/api/trust/score"
payload = {
"mobileNumber": "<string>",
"metadataId": "<string>",
"sessionId": "<string>",
"device": {
"platform": "<string>",
"osVersion": "<string>",
"model": "<string>",
"appVersion": "<string>",
"sdkVersion": "<string>",
"isRooted": True,
"isEmulator": True,
"vpnDetected": True,
"proxyDetected": True,
"appIntegrityStatus": "<string>",
"deviceId": "<string>"
},
"network": {
"ipAddress": "<string>",
"countryCode": "<string>",
"operator": "<string>",
"connectionType": "<string>"
}
}
headers = {
"X-CLIENT-ID": "<x-client-id>",
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-CLIENT-ID': '<x-client-id>',
'X-API-KEY': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
mobileNumber: '<string>',
metadataId: '<string>',
sessionId: '<string>',
device: {
platform: '<string>',
osVersion: '<string>',
model: '<string>',
appVersion: '<string>',
sdkVersion: '<string>',
isRooted: true,
isEmulator: true,
vpnDetected: true,
proxyDetected: true,
appIntegrityStatus: '<string>',
deviceId: '<string>'
},
network: {
ipAddress: '<string>',
countryCode: '<string>',
operator: '<string>',
connectionType: '<string>'
}
})
};
fetch('http://service.authmatech.com/v1/api/trust/score', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://service.authmatech.com/v1/api/trust/score",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'mobileNumber' => '<string>',
'metadataId' => '<string>',
'sessionId' => '<string>',
'device' => [
'platform' => '<string>',
'osVersion' => '<string>',
'model' => '<string>',
'appVersion' => '<string>',
'sdkVersion' => '<string>',
'isRooted' => true,
'isEmulator' => true,
'vpnDetected' => true,
'proxyDetected' => true,
'appIntegrityStatus' => '<string>',
'deviceId' => '<string>'
],
'network' => [
'ipAddress' => '<string>',
'countryCode' => '<string>',
'operator' => '<string>',
'connectionType' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>",
"X-CLIENT-ID: <x-client-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://service.authmatech.com/v1/api/trust/score"
payload := strings.NewReader("{\n \"mobileNumber\": \"<string>\",\n \"metadataId\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"device\": {\n \"platform\": \"<string>\",\n \"osVersion\": \"<string>\",\n \"model\": \"<string>\",\n \"appVersion\": \"<string>\",\n \"sdkVersion\": \"<string>\",\n \"isRooted\": true,\n \"isEmulator\": true,\n \"vpnDetected\": true,\n \"proxyDetected\": true,\n \"appIntegrityStatus\": \"<string>\",\n \"deviceId\": \"<string>\"\n },\n \"network\": {\n \"ipAddress\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"operator\": \"<string>\",\n \"connectionType\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-CLIENT-ID", "<x-client-id>")
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://service.authmatech.com/v1/api/trust/score")
.header("X-CLIENT-ID", "<x-client-id>")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"mobileNumber\": \"<string>\",\n \"metadataId\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"device\": {\n \"platform\": \"<string>\",\n \"osVersion\": \"<string>\",\n \"model\": \"<string>\",\n \"appVersion\": \"<string>\",\n \"sdkVersion\": \"<string>\",\n \"isRooted\": true,\n \"isEmulator\": true,\n \"vpnDetected\": true,\n \"proxyDetected\": true,\n \"appIntegrityStatus\": \"<string>\",\n \"deviceId\": \"<string>\"\n },\n \"network\": {\n \"ipAddress\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"operator\": \"<string>\",\n \"connectionType\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://service.authmatech.com/v1/api/trust/score")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["X-CLIENT-ID"] = '<x-client-id>'
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"mobileNumber\": \"<string>\",\n \"metadataId\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"device\": {\n \"platform\": \"<string>\",\n \"osVersion\": \"<string>\",\n \"model\": \"<string>\",\n \"appVersion\": \"<string>\",\n \"sdkVersion\": \"<string>\",\n \"isRooted\": true,\n \"isEmulator\": true,\n \"vpnDetected\": true,\n \"proxyDetected\": true,\n \"appIntegrityStatus\": \"<string>\",\n \"deviceId\": \"<string>\"\n },\n \"network\": {\n \"ipAddress\": \"<string>\",\n \"countryCode\": \"<string>\",\n \"operator\": \"<string>\",\n \"connectionType\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{}
