Company home office calendar
Lightweight home office calendar for the caller's company: every colleague's home office bookings in the pending, approved and pending_removal states. Any employee in the company may read it (a team availability view); this is intentionally not scoped to the caller's own records and carries only the fields a calendar needs - full request detail lives on the home-office-requests endpoints. The response is a flat array, not wrapped in a data envelope and not paginated. Cancellation-in-progress rows appear once (the original, as pending_removal); the internal removal credit is omitted.
User bearer token. Default authentication for customer-facing endpoints.
Obtain a token by calling POST /login with your credentials, then send it
on every subsequent request as Authorization: Bearer <token>. The token
inherits the permissions and PBX scope of the authenticated user.
- HTTP Authorization Scheme
bearer- Bearer format
Bearer <token>
Responses
550e8400-e29b-41d4-a716-446655440030550e8400-e29b-41d4-a716-446655440001Jane Smith550e8400-e29b-41d4-a716-446655440042home_officehome_officepending approved pending_removalapproved2026-07-072026-07-0728800daysarray<object>
2026-07-0728800128800working_day_detailsarray<object>
2026-07-0728800Authorization Token is missingThe given data was invalid.errorsobject
filterarray<string>
sortarray<string>
pagearray<string>
per_pagearray<string>
https://cockpit.voxbi.com/api/v1/{pbx_id}/calendar/home-office
curl -X GET 'https://cockpit.voxbi.com/api/v1/{pbx_id}/calendar/home-office' \
-H 'Authorization: Bearer YOUR_TOKEN'
const response = await fetch('https://cockpit.voxbi.com/api/v1/{pbx_id}/calendar/home-office', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${YOUR_TOKEN}`,
},
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://cockpit.voxbi.com/api/v1/{pbx_id}/calendar/home-office',
headers={'Authorization': f'Bearer {YOUR_TOKEN}'}
)
response.raise_for_status()
data = response.json()
print(data)
<?php
$context = stream_context_create([
'http' => [
'method' => 'GET',
'header' => "Content-Type: application/json\r\nAuthorization: Bearer YOUR_TOKEN",
],
]);
$response = file_get_contents('https://cockpit.voxbi.com/api/v1/{pbx_id}/calendar/home-office', false, $context);
$data = json_decode($response, true);
print_r($data);
[ … ]
{ … },
"days": [ … ],
{ … }
"working_day_details": [ … ]
{ … }
{ … }
"days": [ … ],
{ … }
"working_day_details": [ … ]
{ … }
{ … }
private, must-revalidatekeep-aliveapplication/jsonOrigin6057{ … }
"errors": { … }
"filter": [ … ],
"sort": [ … ],
"page": [ … ],
"per_page": [ … ]
private, must-revalidatekeep-aliveapplication/jsonOrigin6057