Retrieve a Person
Endpoint
https://api.verifik.co/v2/face-recognition/persons/{id}
This endpoint allows you to query a person stored by the primary key.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Parameters
Name
Type
Description
id
string
ID of the person that you want to bring the information.
Request
curl --location --request GET 'https://api.verifik.co/v2/face-recognition/persons/676194953a7502baafacc887' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIVCJ9.eyJjbGllb...w1splt4Cw' \
--header 'Content-Type: application/json' \
--data ''
const axios = require('axios');
let data = '';
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://api.verifik.co/v2/face-recognition/persons/676194953a7502baafacc887',
headers: {
'Authorization': 'Bearer eyJhbGciJ9.eyJjbGllbnRJZCI6IjYx..0w1splt4Cw'
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/face-recognition/persons/676194953a7502baafacc887")!,timeoutInterval: Double.infinity)
request.addValue("Bearer eyJhbGciIkpXVCJ9.eyJjbGll...splt4Cw", forHTTPHeaderField: "Authorization")
request.httpMethod = "GET"
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
return
}
print(String(data: data, encoding: .utf8)!)
}
task.resume()
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
payload = ''
headers = {
'Authorization': 'Bearer eyJhbGciOiJVCJ9.eyJjbGllbnRJZCI...w1splt4Cw'
}
conn.request("GET", "/v2/face-recognition/persons/676194953a7502baafacc887", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Response
{
"data": {
"_id": "676194953a7502baafacc887",
"name": "Juan Miguel Trevino Morales Cavazos",
"thumbnails": [
{
"id": "a1b1e486-5481-4b98-913b-bf53e483a79f",
"thumbnail": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHB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Qcg59DzVTYZW3SnaAemaLgzPBthCq5GMkZxVD7JdNgzyyMPbgfpTRcVc24J7aMFQmfc1p20do8TJKDtPXisKw063YHIZSepDHNbdrp8GNrM5TH94k1XKW4xsaUUb28ZMLGRCeMc4q5bzR3Kkj7y8HHrWT9hu4t32K42q3aYbh+GMVBZtcx3Sh8B8/Ng9TUNGLVjpQ+3H5Vm61eW9lYPPctthyBI2M4UnH9avFhkjiuD+JOoCHTo7RX+eduR/sjB/nilFXdiJOyueea1epqOrXV2ibEmlZ1X0Hb8aSwaQW8sUY5mYD647VQY10WgWsb2gncEsrnb6V0yWlkcc7s7eA/PIR0LAj/vkVX1LoDUWjSmXTLR2+81tE5/Ff8A61GuXdvY2QnuZRHGDjJ9T7daOoFN1a3n+XJSVd6/1H+fWtG1kxycgckYNchP4xsbwW1nBaSuxdU3yMECnpkYzn6cVuQXpMYAXO07Sh6596znFo6aU7o2YZFGckYHfPJ+tWR5ZU4bHvXNJqbSMCjKSMdDkfpVz7YWBUMecCs+VmvMi1JPM8wS0ZsZ5bAwK2tIW7clLhxkf7IFZFmpjClipIwSCMEk+1bdtcMoyFC7Sx5OO2en4GmNyN1PlwD1qCYD7WGBAwM5H9agN+piR+GcA8ocg8VGboSMJCcgAggHGKmxDZa8wAuzYIQZJ9B1rxnxbrf9t65LKhzBH8kX0HU/ia7bxnrM1porrZqAs0pgeT0O3OPqQP8APbyYPnPr3ralDqY1J9BSea7HRV26RD75P6muLyc13VgNmm26+kY/lWstjA//2Q=="
}
],
"gender": "M",
"date_of_birth": "1993-09-09T00:00:00.000Z",
"nationality": "Mexican",
"collections": [],
"notes": "Created via API",
"documentValidations": [],
"emails": [],
"phones": [],
"environment": "not_set",
"client": "613a3a48f2c84b454153add7",
"updatedAt": "2024-12-17T17:57:05.469Z",
"createdAt": "2024-12-17T15:11:18.599Z",
"__v": 3
}
}
{
"error": "Invalid request"
}
{
"code": "NotFound",
"message": "person_not_found"
}
Last updated