curl --request GET \
--url https://api.vizito.eu/api/knownvisitors/{knownvisitor_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vizito.eu/api/knownvisitors/{knownvisitor_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vizito.eu/api/knownvisitors/{knownvisitor_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vizito.eu/api/knownvisitors/{knownvisitor_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;
}{
"_id": "5f2a1b9c4d3e2f0011223344",
"company_id": [
"5f2a1b9c4d3e2f0011223344"
],
"first_name": "<string>",
"last_name": "<string>",
"company": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"recipient": "<string>",
"visit_type": "5f2a1b9c4d3e2f0011223344",
"visiting_on": {
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z"
},
"persistent": true,
"language": "<string>",
"pre_registration_by_visitor": true,
"create_date": "2023-11-07T05:31:56Z",
"mod_date": "2023-11-07T05:31:56Z"
}{
"message": "<string>"
}{
"error": "Invalid API key"
}Fetching a registered visitor
One registered visitor in full, including any photo and signature stored for prefilling their sign-in.
A record that does not exist answers 200 with
{ "message": "No Known Visitor found!" }, not a 404.
curl --request GET \
--url https://api.vizito.eu/api/knownvisitors/{knownvisitor_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vizito.eu/api/knownvisitors/{knownvisitor_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vizito.eu/api/knownvisitors/{knownvisitor_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vizito.eu/api/knownvisitors/{knownvisitor_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;
}{
"_id": "5f2a1b9c4d3e2f0011223344",
"company_id": [
"5f2a1b9c4d3e2f0011223344"
],
"first_name": "<string>",
"last_name": "<string>",
"company": "<string>",
"email": "jsmith@example.com",
"phone": "<string>",
"recipient": "<string>",
"visit_type": "5f2a1b9c4d3e2f0011223344",
"visiting_on": {
"startDate": "2023-11-07T05:31:56Z",
"endDate": "2023-11-07T05:31:56Z"
},
"persistent": true,
"language": "<string>",
"pre_registration_by_visitor": true,
"create_date": "2023-11-07T05:31:56Z",
"mod_date": "2023-11-07T05:31:56Z"
}{
"message": "<string>"
}{
"error": "Invalid API key"
}Authorizations
An API key issued in the Backoffice, sent as Authorization: Bearer vzk_<key id>_<secret>.
A Microsoft Entra ID access token obtained with the client credentials
grant is accepted on the same header. The same value is also accepted in
an X-API-Key header.
Path Parameters
The registered visitor id. A 24-character hexadecimal id.
^[0-9a-fA-F]{24}$"5f2a1b9c4d3e2f0011223344"
Response
The registered visitor, or a message when there is none.
- Option 1
- Option 2
An expected visitor. Custom fields defined by the visit type are stored
here too, under their own field_name, and carried onto the visit.
A 24-character hexadecimal id.
^[0-9a-fA-F]{24}$"5f2a1b9c4d3e2f0011223344"
A 24-character hexadecimal id.
^[0-9a-fA-F]{24}$A 24-character hexadecimal id.
^[0-9a-fA-F]{24}$"5f2a1b9c4d3e2f0011223344"
When a visit is expected. Absent means "any day".
Show child attributes
Show child attributes
Kept after the visit; never removed by data retention.
Language of the invitation email.
The visitor filled in their own details through the invitation.

