curl --request GET \
--url https://api.statisfy.com/v1/calendar/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/calendar/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.statisfy.com/v1/calendar/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.statisfy.com/v1/calendar/events",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.statisfy.com/v1/calendar/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.statisfy.com/v1/calendar/events")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/calendar/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"ended": true,
"id": "<string>",
"account_id": "<string>",
"activity_id": "<string>",
"attendees": [
{
"email": "<string>",
"name": "<string>",
"type": "user"
}
],
"end": "<string>",
"meeting_url": "<string>",
"organizer": {
"email": "<string>",
"name": "<string>",
"type": "user"
},
"recurring": false,
"scope": "internal",
"source": "google_calendar",
"start": "<string>",
"title": "<string>"
}
],
"end": "<string>",
"start": "<string>",
"has_more": false,
"next_cursor": "<string>"
}List calendar events, past and upcoming
Pages through what is on a person’s calendar: the events their connected Google or Outlook calendar synced, and the meetings they added by hand, as the app’s Meetings page lists them. A person’s own key reads its own calendar; any other key names whose with user_id (a user’s login id). phase upcoming lists events that have not ended, soonest first; past lists events that have, newest first; without it the window reads soonest first. The window is start to end on the event’s start (ISO 8601; no offset is UTC), at most 92 days, starting at most 95 days ahead. Without them it is the next 14 days for upcoming, the last 14 for past, or 14 either side of now; one alone extends 14 days from it. The answer names the window it read. tag narrows to internal (teammates only), external, customer (filed under an account) or book (filed under one of the person’s accounts). Each event carries its title, start and end (ISO 8601 UTC), whether it has ended, its source, scope, meeting_url, organizer and attendees (each name, email and type: user, a teammate; contact; or vendor), the account_id it is filed under, whether it is recurring, and once the meeting was recorded its activity_id (GET /v1/meetings/ reads it when Statisfy’s notetaker recorded it). A page’s next_cursor keeps the first page’s window and instant.
curl --request GET \
--url https://api.statisfy.com/v1/calendar/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.statisfy.com/v1/calendar/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.statisfy.com/v1/calendar/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.statisfy.com/v1/calendar/events",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.statisfy.com/v1/calendar/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.statisfy.com/v1/calendar/events")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/calendar/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"ended": true,
"id": "<string>",
"account_id": "<string>",
"activity_id": "<string>",
"attendees": [
{
"email": "<string>",
"name": "<string>",
"type": "user"
}
],
"end": "<string>",
"meeting_url": "<string>",
"organizer": {
"email": "<string>",
"name": "<string>",
"type": "user"
},
"recurring": false,
"scope": "internal",
"source": "google_calendar",
"start": "<string>",
"title": "<string>"
}
],
"end": "<string>",
"start": "<string>",
"has_more": false,
"next_cursor": "<string>"
}Authorizations
An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.
Query Parameters
Was this page helpful?