Obtener verificación Face Match
curl --request GET \
--url http://api.gu1.ai/api/kyc/face-match/verifications/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/api/kyc/face-match/verifications/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://api.gu1.ai/api/kyc/face-match/verifications/{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 => "http://api.gu1.ai/api/kyc/face-match/verifications/{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 => [
"Authorization: Bearer <token>"
],
]);
$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 := "http://api.gu1.ai/api/kyc/face-match/verifications/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://api.gu1.ai/api/kyc/face-match/verifications/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/api/kyc/face-match/verifications/{id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyFace Match
Obtener verificación Face Match
Obtener un registro de auditoría de Face Match por ID — en la API KYC de gu1 para flujos de verificación de identidad, con ejemplos para get face match.
GET
/
api
/
kyc
/
face-match
/
verifications
/
{id}
Obtener verificación Face Match
curl --request GET \
--url http://api.gu1.ai/api/kyc/face-match/verifications/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/api/kyc/face-match/verifications/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://api.gu1.ai/api/kyc/face-match/verifications/{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 => "http://api.gu1.ai/api/kyc/face-match/verifications/{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 => [
"Authorization: Bearer <token>"
],
]);
$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 := "http://api.gu1.ai/api/kyc/face-match/verifications/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://api.gu1.ai/api/kyc/face-match/verifications/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/api/kyc/face-match/verifications/{id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyResumen
Devuelve una verificación de Face Match por suid (el mismo UUID que se devuelve como verificationId en la respuesta del POST Face Match o en el endpoint de listado). Úsalo para consultar el detalle de una verificación pasada (auditoría, soporte o vistas de detalle).
Puntos clave:
- Scoped a tu organización; devuelve 404 si el ID no existe o pertenece a otra organización.
- Mismos campos que cada ítem del listado:
id,entityId,status,match,score,threshold,createdAty rutas de imágenes opcionales.
Para descargar los bytes del documento y del selfie almacenados, usá Obtener imágenes Face Match (
/document-image y /selfie-image).Solicitud
Endpoint
GET https://api.gu1.ai/api/kyc/face-match/verifications/:id
Parámetros de path
string
required
UUID de la verificación Face Match (el mismo que
verificationId del POST o del listado).Headers
{
"Authorization": "Bearer YOUR_API_KEY"
}
X-Organization-Id si tu cuenta está scoped por organización.
Respuesta
Éxito (200 OK)
Objeto único de verificación:| Campo | Tipo | Descripción |
|---|---|---|
id | string | UUID de la verificación. |
organizationId | string | Organización que posee el registro. |
entityId | string | null | ID de la entidad persona si se envió en la solicitud. |
status | string | approved | declined | in_review | failed. |
match | boolean | Si las caras se consideraron coincidentes. |
score | number | null | Puntaje de similitud 0–100 (null cuando status es failed). |
requestId | string | null | ID interno de la solicitud (soporte). |
vendorData | string | null | Referencia del cliente en la solicitud. |
errorMessage | string | null | Mensaje de error cuando status es failed. |
triggeredByUserId | string | null | Usuario que llamó a la API. |
createdAt | string | Timestamp ISO. |
documentStoragePath | string | null | Ruta de almacenamiento de la imagen del documento (auditoría). |
selfieStoragePath | string | null | Ruta de almacenamiento de la selfie (auditoría). |
storageProvider | string | null | s3 o local. |
threshold | number | null | Umbral de puntaje usado en esta verificación (configuración de la org en ese momento). |
Respuestas de error
| Código | HTTP | Descripción |
|---|---|---|
NOT_FOUND | 404 | El ID de verificación no existe o pertenece a otra organización. |
UNAUTHORIZED | 401 | API key o contexto de organización ausente o inválido. |
Ejemplo
const id = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890';
const response = await fetch(`https://api.gu1.ai/api/kyc/face-match/verifications/${id}`, {
headers: { 'Authorization': 'Bearer YOUR_API_KEY' },
});
const verification = await response.json();
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://api.gu1.ai/api/kyc/face-match/verifications/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Próximos pasos
Face Match (POST)
Verificar documento + selfie en una llamada
Listar validaciones
Listar validaciones KYC por entidad
Was this page helpful?