The Retrieve Face Recognition Person by ID API allows you to fetch information about a specific person within the facial recognition system using their unique identifier (ID). This API is useful for obtaining details about an individual, including their name, gender, date of birth, nationality, associated thumbnails, collections, and additional notes.
To retrieve information about a specific person, make a GET request to the endpoint where {id} should be replaced with the unique identifier of the person you want to fetch.
The API will respond with detailed information about the person, including their name, gender, date of birth, nationality, associated thumbnails, collections, and additional notes. This information can be used for various purposes such as identity verification, profile management, and accessing the details of individuals stored within your facial recognition system.
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/face-recognition/persons/><id>',
params: {
},
headers: {
Accept: 'application/json',
Authorization: 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
{
"data": {
"thumbnails": [
{
"id": "string",
"thumbnail": "string"
}
],
"collections": [
"string"
],
"deleted": true,
"_id": "string",
"name": "string",
"gender": "string",
"date_of_birth": "string",
"nationality": "string",
"notes": "string",
"client": "string",
"updatedAt": "string",
"createdAt": "string",
"__v": 0
}
}