Obtener perfil ATO
curl --request GET \
--url https://api.truthlocks.com/v1/risk/ato/profile/{subject_id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/ato/profile/{subject_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/ato/profile/{subject_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/ato/profile/{subject_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))
}{
"subject_id": "<string>",
"risk_level": "<string>",
"last_login": "<string>",
"known_devices": 123,
"alerts": [
{}
]
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Toma de control de cuenta
Obtener perfil ATO
Recuperar el perfil de riesgo actual de toma de control de cuenta para un sujeto, incluyendo el recuento de inicios de sesión fallidos, el nivel de riesgo y los dispositivos conocidos.
GET
/
v1
/
risk
/
ato
/
profile
/
{subject_id}
Obtener perfil ATO
curl --request GET \
--url https://api.truthlocks.com/v1/risk/ato/profile/{subject_id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/ato/profile/{subject_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/ato/profile/{subject_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/ato/profile/{subject_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))
}{
"subject_id": "<string>",
"risk_level": "<string>",
"last_login": "<string>",
"known_devices": 123,
"alerts": [
{}
]
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Devuelve el perfil de riesgo ATO para el sujeto especificado. El perfil rastrea la velocidad de inicio de sesión fallido en una ventana móvil de una hora y registra las direcciones IP y los dispositivos conocidos. Utilice este endpoint para verificar la postura de riesgo actual de un usuario sin activar una nueva evaluación.
Consulte la guía de detección de apropiación de cuentas para conocer el flujo de trabajo completo.

