Account
Get Account
cURL
curl --request GET \
--url https://api.sandbox.verisoul.ai/account/{account_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sandbox.verisoul.ai/account/{account_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sandbox.verisoul.ai/account/{account_id}', 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 => "https://api.sandbox.verisoul.ai/account/{account_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.verisoul.ai/account/{account_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.verisoul.ai/account/{account_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.verisoul.ai/account/{account_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"project_id": "00000000-0000-0000-0000-000000000001",
"request_id": "81fca4e3-0111-45b8-a8eb-0c2b638e1d29",
"account": {
"id": "john-doe",
"email": "johndoe.example@gmail.com",
"phone": "+14155550123",
"first_name": "John",
"last_name": "Doe",
"username": "john.doe",
"expected_countries": [
"US",
"CA"
],
"metadata": {},
"group": ""
},
"num_sessions": 1,
"first_seen": "2025-06-10T16:47:29.661Z",
"last_seen": "2025-06-10T16:47:29.661Z",
"last_session": "56f9a065-1583-48af-a5c4-cd5921b21a12",
"country": "US",
"countries": [
"US"
],
"decision": "Real",
"account_score": 0.2191,
"bot": 0,
"multiple_accounts": 0.2053,
"risk_signals": 0.2979,
"accounts_linked": 2,
"lists": [
"us_users"
],
"unique_devices": {
"1_day": 1,
"7_day": 1
},
"unique_networks": {
"1_day": 1,
"7_day": 1
},
"email": {
"email": "johndoe.example@gmail.com",
"disposable": false,
"personal": true,
"valid": true,
"domain_type": "personal",
"email_score": 0,
"trust_signals": [
"email_age_greater_than_5_years",
"email_known_online_history"
],
"risk_signals": [
"email_alias"
],
"num_account_from_domain": 156
},
"risk_signal_average": {
"device_risk": 0.3971,
"proxy": 0,
"vpn": 0,
"tor": 0,
"spoofed_ip": 0,
"datacenter": 0,
"recent_fraud_ip": 0,
"impossible_travel": 0,
"device_network_mismatch": 0.0001,
"location_spoofing": 0
}
}{
"statusCode": 400,
"message": "Account not found"
}Response
Account information response
⌘I
cURL
curl --request GET \
--url https://api.sandbox.verisoul.ai/account/{account_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sandbox.verisoul.ai/account/{account_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sandbox.verisoul.ai/account/{account_id}', 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 => "https://api.sandbox.verisoul.ai/account/{account_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.verisoul.ai/account/{account_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.verisoul.ai/account/{account_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.verisoul.ai/account/{account_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"project_id": "00000000-0000-0000-0000-000000000001",
"request_id": "81fca4e3-0111-45b8-a8eb-0c2b638e1d29",
"account": {
"id": "john-doe",
"email": "johndoe.example@gmail.com",
"phone": "+14155550123",
"first_name": "John",
"last_name": "Doe",
"username": "john.doe",
"expected_countries": [
"US",
"CA"
],
"metadata": {},
"group": ""
},
"num_sessions": 1,
"first_seen": "2025-06-10T16:47:29.661Z",
"last_seen": "2025-06-10T16:47:29.661Z",
"last_session": "56f9a065-1583-48af-a5c4-cd5921b21a12",
"country": "US",
"countries": [
"US"
],
"decision": "Real",
"account_score": 0.2191,
"bot": 0,
"multiple_accounts": 0.2053,
"risk_signals": 0.2979,
"accounts_linked": 2,
"lists": [
"us_users"
],
"unique_devices": {
"1_day": 1,
"7_day": 1
},
"unique_networks": {
"1_day": 1,
"7_day": 1
},
"email": {
"email": "johndoe.example@gmail.com",
"disposable": false,
"personal": true,
"valid": true,
"domain_type": "personal",
"email_score": 0,
"trust_signals": [
"email_age_greater_than_5_years",
"email_known_online_history"
],
"risk_signals": [
"email_alias"
],
"num_account_from_domain": 156
},
"risk_signal_average": {
"device_risk": 0.3971,
"proxy": 0,
"vpn": 0,
"tor": 0,
"spoofed_ip": 0,
"datacenter": 0,
"recent_fraud_ip": 0,
"impossible_travel": 0,
"device_network_mismatch": 0.0001,
"location_spoofing": 0
}
}{
"statusCode": 400,
"message": "Account not found"
}