Listing hosts, paged
curl --request GET \
--url https://api.vizito.eu/api/visitees/bycompany/paged/{company_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vizito.eu/api/visitees/bycompany/paged/{company_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vizito.eu/api/visitees/bycompany/paged/{company_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/visitees/bycompany/paged/{company_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;
}{
"total": 123,
"visitees": [
{
"_id": "5f2a1b9c4d3e2f0011223344",
"company_id": "5f2a1b9c4d3e2f0011223344",
"cn": "Jane Doe",
"mail": "jsmith@example.com",
"mobile": "<string>",
"telephoneNumber": "<string>",
"sticky": true,
"external": true,
"create_date": "2023-11-07T05:31:56Z",
"mod_date": "2023-11-07T05:31:56Z"
}
]
}{
"message": "<string>"
}{
"error": "Invalid API key"
}Hosts
Listing hosts, paged
The same list, paged and filterable.
GET
/
visitees
/
bycompany
/
paged
/
{company_id}
Listing hosts, paged
curl --request GET \
--url https://api.vizito.eu/api/visitees/bycompany/paged/{company_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vizito.eu/api/visitees/bycompany/paged/{company_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vizito.eu/api/visitees/bycompany/paged/{company_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/visitees/bycompany/paged/{company_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;
}{
"total": 123,
"visitees": [
{
"_id": "5f2a1b9c4d3e2f0011223344",
"company_id": "5f2a1b9c4d3e2f0011223344",
"cn": "Jane Doe",
"mail": "jsmith@example.com",
"mobile": "<string>",
"telephoneNumber": "<string>",
"sticky": true,
"external": 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 location. A 24-character hexadecimal id.
Pattern:
^[0-9a-fA-F]{24}$Example:
"5f2a1b9c4d3e2f0011223344"
Query Parameters
Rows to return.
Required range:
x >= 1Example:
50
1-based page number.
Required range:
x >= 1Example:
1
Sort per field, as sorting[signed_in]=desc. asc or desc.
Show child attributes
Show child attributes
Filter per field, as filter[company]=acme. Values match case-insensitively
on any part of the stored value. A date field takes a range instead:
filter[signed_in][startDate] and filter[signed_in][endDate], both ISO 8601.

