curl --request GET \
--url https://sonar.turtle.xyz/v1/organization/{organizationId}/meetings \
--header 'Authorization: Bearer <token>'import requests
url = "https://sonar.turtle.xyz/v1/organization/{organizationId}/meetings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sonar.turtle.xyz/v1/organization/{organizationId}/meetings', 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://sonar.turtle.xyz/v1/organization/{organizationId}/meetings",
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://sonar.turtle.xyz/v1/organization/{organizationId}/meetings"
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://sonar.turtle.xyz/v1/organization/{organizationId}/meetings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sonar.turtle.xyz/v1/organization/{organizationId}/meetings")
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{
"meetings": [
{
"address": "<string>",
"allDay": true,
"body": "<string>",
"deals": [
{
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"name": "<string>",
"pipelineId": "248df4b7-aa70-47b8-a036-33ac447e668d",
"stage": "<string>",
"stageColor": "<string>",
"stageKind": "<string>",
"stageName": "<string>",
"via": "<string>"
}
],
"endsAt": "<string>",
"eventId": "248df4b7-aa70-47b8-a036-33ac447e668d",
"eventType": "<string>",
"location": "<string>",
"meetLink": "<string>",
"organizer": "<string>",
"participants": [
{
"address": "<string>",
"name": "<string>",
"role": "<string>",
"rsvp": "<string>"
}
],
"sealed": "<string>",
"startsAt": "<string>",
"startsAtUtc": "2023-11-07T05:31:56Z",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}{
"code": 123,
"context": {},
"error": "<string>",
"status": "<string>"
}{
"code": 123,
"context": {},
"error": "<string>",
"status": "<string>"
}List Meetings
The calendar between two instants, soonest first, read from the newest revision of each meeting in the event log, with the answers its attendees replied since. Canceled meetings are omitted. Times are returned as the source stated them, with allDay saying which shape that is and startsAtUtc resolved for ordering. Each meeting carries the deals it is about, via: attendee: somebody on the invite works at the deal’s counterparty, as a contact there or by their email’s domain (never the tenant’s own organization, and never a lost deal).
curl --request GET \
--url https://sonar.turtle.xyz/v1/organization/{organizationId}/meetings \
--header 'Authorization: Bearer <token>'import requests
url = "https://sonar.turtle.xyz/v1/organization/{organizationId}/meetings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sonar.turtle.xyz/v1/organization/{organizationId}/meetings', 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://sonar.turtle.xyz/v1/organization/{organizationId}/meetings",
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://sonar.turtle.xyz/v1/organization/{organizationId}/meetings"
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://sonar.turtle.xyz/v1/organization/{organizationId}/meetings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sonar.turtle.xyz/v1/organization/{organizationId}/meetings")
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{
"meetings": [
{
"address": "<string>",
"allDay": true,
"body": "<string>",
"deals": [
{
"id": "248df4b7-aa70-47b8-a036-33ac447e668d",
"name": "<string>",
"pipelineId": "248df4b7-aa70-47b8-a036-33ac447e668d",
"stage": "<string>",
"stageColor": "<string>",
"stageKind": "<string>",
"stageName": "<string>",
"via": "<string>"
}
],
"endsAt": "<string>",
"eventId": "248df4b7-aa70-47b8-a036-33ac447e668d",
"eventType": "<string>",
"location": "<string>",
"meetLink": "<string>",
"organizer": "<string>",
"participants": [
{
"address": "<string>",
"name": "<string>",
"role": "<string>",
"rsvp": "<string>"
}
],
"sealed": "<string>",
"startsAt": "<string>",
"startsAtUtc": "2023-11-07T05:31:56Z",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}{
"code": 123,
"context": {},
"error": "<string>",
"status": "<string>"
}{
"code": 123,
"context": {},
"error": "<string>",
"status": "<string>"
}Authorizations
Query Parameters
Only meetings one of these people is on, as mine reads the reader: as organizer, or as a participant who has not declined. Each is an email, or a contact id, which stands for every email that contact holds; repeat to OR. Anything else, or a contact id this silo does not have, is an error.
20
