Read the Events settings
curl --request GET \
--url https://app.orgo.space/api/v1/workspace-settings/events \
--header 'Api-Token: <api-key>'import requests
url = "https://app.orgo.space/api/v1/workspace-settings/events"
headers = {"Api-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Token': '<api-key>'}};
fetch('https://app.orgo.space/api/v1/workspace-settings/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://app.orgo.space/api/v1/workspace-settings/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 => [
"Api-Token: <api-key>"
],
]);
$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://app.orgo.space/api/v1/workspace-settings/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Api-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.orgo.space/api/v1/workspace-settings/events")
.header("Api-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/workspace-settings/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Api-Token"] = '<api-key>'
response = http.request(request)
puts response.read_bodyWorkspaceSettings
Read the Events settings
Events, trainings and meetings: creation, registration, tickets, reports and attendance.
Dry-run and confirm with the person before changing: events.isActive, events.hasTicketOnlinePayments.
Settings:
- isActive: Turns the Events module on for the whole workspace (events, trainings, meetings, attendance). Off hides events from members and admins.
- hasEventReport: Adds a Report page to each event, where the organiser records a post-event summary.
- hasAnnualReport: Lets an event report be marked for inclusion in the annual report, and shows the Annual report action on chapter pages.
- whoCanPostPublic: Permission level needed to create an event visible to the whole organisation (a public event) rather than only inside a group.
- trainingEventType: The event type that counts as a training. Attendance at events of this type shows as trainings on member profiles and enables the trainer flag. Empty means no training type.
- generalMeetingEventType: The event type that counts as a general meeting. Events of this type get the general meeting options (extraordinary meeting, election). Empty means none.
- hasLocalAnnualReport: Lets chapter event reports be marked for the chapter’s annual report. Only shown when chapters are on and the annual report is on.
- hasTicketOnlinePayments: Allows selling event tickets with online payment. Needs online payments connected.
- hasSDG: Lets events be tagged with UN Sustainable Development Goals, shown on the event and usable as a list filter.
- sendBulkInvites: Lets organisers send an invitation email to every member of the event’s group when an event is published.
- hasNationalAnnualReport: Marks event reports for a national-level annual report. Currently has no visible effect: the option it controlled is disabled in the event report form.
- hasCustomStatuses: Lets admins define their own event statuses (for example Upcoming, In progress, Finalised) and set them on events.
- propagateEventsAllToLocalCenters: Lets organisation-level event admins create an event once and have it copied to every chapter. Needs chapters on.
- sendAttendanceReminder: Enables the attendance reminder: the event host gets an email 24 hours after the event ends asking them to record attendance. Turned on per event type and per event.
- restrictEventsByUserType: Lets organisation admins limit which member type may edit a propagated event at chapter level.
- disableCompanyInvoice: Hides the “I want a company invoice” option in event ticket checkout. Only relevant when invoicing is on.
GET
/
api
/
v1
/
workspace-settings
/
events
Read the Events settings
curl --request GET \
--url https://app.orgo.space/api/v1/workspace-settings/events \
--header 'Api-Token: <api-key>'import requests
url = "https://app.orgo.space/api/v1/workspace-settings/events"
headers = {"Api-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Token': '<api-key>'}};
fetch('https://app.orgo.space/api/v1/workspace-settings/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://app.orgo.space/api/v1/workspace-settings/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 => [
"Api-Token: <api-key>"
],
]);
$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://app.orgo.space/api/v1/workspace-settings/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Api-Token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.orgo.space/api/v1/workspace-settings/events")
.header("Api-Token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.orgo.space/api/v1/workspace-settings/events")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Api-Token"] = '<api-key>'
response = http.request(request)
puts response.read_bodyAuthorizations
ApiTokenJWT
Server-to-server authentication. Generate a token in the admin UI at
Settings → Developers → API Access. Send the raw token in the
Api-Token header — there is no Bearer prefix.
Tokens can be marked read-only at creation time, in which case the API
rejects any non-GET request with 403 Forbidden.
Response
OK

