Skip to content

List cached calendar occurrences

HTTP: bearerAuth

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>
start_time query · string · date-time *
end_time query · string · date-time *
Exclusive end, at most 100 days after start

Responses

Expanded occurrences
Response schema
id*string
sourceId*string
title*string
start*string · date-time
end*string · date-time
isAllDay*boolean
locationstring | null
descriptionstring | null
urlstring | null
isTransparentboolean
Invalid range
Response schema
No response body.
Too many requests, retry later
Response schema
No response body.
get https://cockpit.voxbi.com/api/v1/calendar-subscriptions/events
Base URL
Request sample
curl -X GET 'https://cockpit.voxbi.com/api/v1/calendar-subscriptions/events' \
  -H 'Authorization: Bearer YOUR_TOKEN'
const response = await fetch('https://cockpit.voxbi.com/api/v1/calendar-subscriptions/events', {
  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/calendar-subscriptions/events',
    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/calendar-subscriptions/events', false, $context);
$data = json_decode($response, true);
print_r($data);
No example for this status.
No example for this status.
No example for this status.