Get quarantine status
curl --request GET \
--url https://api.truthlocks.com/v1/risk/quarantine/{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/quarantine/{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/quarantine/{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/quarantine/{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>",
"quarantined": true,
"reason": "<string>",
"quarantined_at": "<string>",
"expires_at": "<string>"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Risk operations
Read subject quarantine
Get quarantine status
GET
/
v1
/
risk
/
quarantine
/
{subject_id}
Get quarantine status
curl --request GET \
--url https://api.truthlocks.com/v1/risk/quarantine/{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/quarantine/{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/quarantine/{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/quarantine/{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>",
"quarantined": true,
"reason": "<string>",
"quarantined_at": "<string>",
"expires_at": "<string>"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Supply the original subject identifier and matching subject_type. The read reports active, unexpired quarantine. A false result does not imply that the subject passed identity review or has a low risk score.
Authorizations
API key for machine-to-machine authentication
Path Parameters
Subject identifier
Query Parameters
Use the same subject type that was recorded with the decision.

