Calendar
Connect Google Calendar or Outlook once for your whole organisation, so everyone's confirmed bookings appear in their work calendar.
setup.connectPOST/api/integrations/calendar/setup/connectoperationsetup.checkPOST/api/integrations/calendar/setup/checkoperationsetup.disconnectPOST/api/integrations/calendar/setup/disconnectoperationsetup.featuresPOST/api/integrations/calendar/setup/featuresoperationplaces.mapPOST/api/integrations/calendar/places/mapoperationsetup.getGET/api/integrations/calendar/setupquerybuildings.listGET/api/integrations/calendar/buildingsqueryOperations
#operationsMethods that change state.
/api/integrations/calendar/setup/connect200Starts connecting Google Calendar or Outlook. For Google, a Workspace admin then delegates the returned scope to the returned client ID. For Outlook, a Microsoft admin opens the returned approval link. Replaces a connection that never went live; a live one must be disconnected first. This method requires Account-scoped permission calendar_connection.manage.
providerstringgooglemicrosoftRequiredgoogle_domainstringOptionalacme.com.curl -X POST 'https://api.officely.app/api/integrations/calendar/setup/connect' -H 'Officely-Version: 2026-08-11' -H 'Authorization: Bearer <account-api-token>' -H 'Content-Type: application/json' --data '{"provider":"google"}'/api/integrations/calendar/setup/check200Checks Officely can add events to a calendar in your organisation, by adding a test event and removing it. The first check that passes starts syncing, including bookings already made. A check that passes also restarts a paused connection. This method requires Account-scoped permission calendar_connection.manage.
mailboxstringRequiredcurl -X POST 'https://api.officely.app/api/integrations/calendar/setup/check' -H 'Officely-Version: 2026-08-11' -H 'Authorization: Bearer <account-api-token>' -H 'Content-Type: application/json' --data '{"mailbox":"alex@acme.example"}'/api/integrations/calendar/setup/disconnect200Stops syncing and removes the events Officely added for bookings that haven't ended. It doesn't remove Officely's access in Google or Microsoft. This method requires Account-scoped permission calendar_connection.manage.
No input fields.
curl -X POST 'https://api.officely.app/api/integrations/calendar/setup/disconnect' -H 'Officely-Version: 2026-08-11' -H 'Authorization: Bearer <account-api-token>' -H 'Content-Type: application/json' --data '{}'/api/integrations/calendar/setup/features200Turns deeper calendar features on or off for everyone: office days as each person's working location, and naming the mapped building in it. Basic booking sync isn't affected. Officely also asks Google or Microsoft what it's allowed to do; a feature that isn't granted waits until an admin allows it and a check passes. Turning working location off removes what Officely set. This method requires Account-scoped permission calendar_connection.manage.
working_locationbooleanOptionaltrue shows each person's office days as their working location: Google Calendar's working location, or the work location in Outlook and Teams. false turns it off and removes what Officely set. Omit to leave it as it is.place_mappingbooleanOptionaltrue names the mapped Google Workspace building or Microsoft Places building in each working location. false stops naming them; the mapping itself is kept. Omit to leave it as it is.curl -X POST 'https://api.officely.app/api/integrations/calendar/setup/features' -H 'Officely-Version: 2026-08-11' -H 'Authorization: Bearer <account-api-token>' -H 'Content-Type: application/json' --data '{}'/api/integrations/calendar/places/map200Maps one of your Places to a building from buildings.list, or removes the mapping. While working location and place mapping are on, that Place's upcoming office days are updated. This method requires Account-scoped permission calendar_connection.manage.
placePlaceIdRequiredbuildingobject | nullRequiredGET /integrations/calendar/buildings, or null to remove the mapping.curl -X POST 'https://api.officely.app/api/integrations/calendar/places/map' -H 'Officely-Version: 2026-08-11' -H 'Authorization: Bearer <account-api-token>' -H 'Content-Type: application/json' --data '{"place":"place_london_hq","building":{"id":"Acme example","name":"Acme London"}}'Queries
#queriesRead methods. Kept apart from operations because only operations change state.
/api/integrations/calendar/setup200Retrieves your Account's calendar connection, with what an admin needs to finish setting it up. This method requires Account-scoped permission calendar_connection.read.
No input fields.
curl 'https://api.officely.app/api/integrations/calendar/setup' -H 'Officely-Version: 2026-08-11' -H 'Authorization: Bearer <account-api-token>'/api/integrations/calendar/buildings200Lists the buildings in your Google Workspace or Microsoft Places directory, to map your Places to. Google needs the google_buildings_scope delegated and a check with a Workspace admin's email; Microsoft needs an admin to approve Officely again. This method requires Account-scoped permission calendar_connection.read.
No input fields.
curl 'https://api.officely.app/api/integrations/calendar/buildings' -H 'Officely-Version: 2026-08-11' -H 'Authorization: Bearer <account-api-token>'REST examples use https://api.officely.app. See Officely-Version for endpoint versioning.

