Push a slot's assignments to the assignees' Microsoft 365 calendars (user or API key)
Adds the slot's upcoming assignments to the assignees' Microsoft 365 calendars. Calendar only: no email is sent (publishing is POST /{pbx_id}/schedule-management/{schedule}/send). Idempotent: occurrences already in a calendar are reported, not sent again. Every body field is optional: a bare POST pushes every assignment of the slot from today onwards. Answers 422 when the Microsoft 365 calendar integration is not active for the PBX. Granting the tempus-schedules scope to an API key allows this call, which writes to employees' mailboxes.
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>
API key created on the Cockpit Integrations page (an "API key" integration).
It is a bearer token owned by the customer's PBX and limited to the scopes
selected when the key was created (e.g. phone-numbers, push-configuration).
Send it in the Authorization header:
Authorization: Bearer <api_key>
Manage keys (create / reveal / revoke) from Integrations → New integration → API key.
- HTTP Authorization Scheme
bearer
application/jsonRequest body · application/json
550e8400-e29b-41d4-a716-4466554400102026-03-02T00:00:00Responses
dataobject
pushed already_pushed nothing_to_push no_mailboxAuthorization Token is missingmessagearray<string>
errorsobject
dataobject
https://cockpit.voxbi.com/api/v1/{pbx_id}/schedule-management/slots/{slot}/push-to-calendar
curl -X POST 'https://cockpit.voxbi.com/api/v1/{pbx_id}/schedule-management/slots/{slot}/push-to-calendar' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
--data '{"employee_id":"550e8400-e29b-41d4-a716-446655440010","from":"2026-03-02"}'
const response = await fetch('https://cockpit.voxbi.com/api/v1/{pbx_id}/schedule-management/slots/{slot}/push-to-calendar', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${YOUR_TOKEN}`,
},
body: JSON.stringify({
"employee_id": "550e8400-e29b-41d4-a716-446655440010",
"from": "2026-03-02"
}),
});
const data = await response.json();
console.log(data);
import requests
response = requests.post('https://cockpit.voxbi.com/api/v1/{pbx_id}/schedule-management/slots/{slot}/push-to-calendar',
headers={'Authorization': f'Bearer {YOUR_TOKEN}'},
json={
"employee_id": "550e8400-e29b-41d4-a716-446655440010",
"from": "2026-03-02"
}
)
response.raise_for_status()
data = response.json()
print(data)
<?php
$context = stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-Type: application/json\r\nAuthorization: Bearer YOUR_TOKEN",
'content' => '{
\"employee_id\": \"550e8400-e29b-41d4-a716-446655440010\",
\"from\": \"2026-03-02\"
}',
],
]);
$response = file_get_contents('https://cockpit.voxbi.com/api/v1/{pbx_id}/schedule-management/slots/{slot}/push-to-calendar', false, $context);
$data = json_decode($response, true);
print_r($data);
{ … }
{ … }
"data": { … }
{ … }
private, must-revalidatekeep-aliveapplication/jsonOrigin6057{ … }
{ … }
"message": [ … ]
private, must-revalidatekeep-aliveapplication/jsonOrigin6057{ … }
"errors": { … }
"employee_id": [ … ]
{ … }
60application/json