A CoworkerGoogleCalendar record represents a Google Calendar account connected to a customer’s Nexudus account.
These records are created automatically when a customer connects their own Google Calendar from the Members Portal or the Nexudus app. Once connected, customers can book resources at a location directly from their Google Calendar.
Each record stores the Google push-notification subscription details (SubscriptionId, WatchResourceId, SubscriptionExpireDate) used to keep the calendar in sync, as well as an EventSyncToken for incremental Google Calendar API event queries.
For more information, see the Google Calendar (Customer) help article.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.
The authenticated user must be a full unrestricted administrator or have the CoworkerGoogleCalendar-Read role.
Path Parameters
The Id of the CoworkerGoogleCalendar record to retrieve.
Code Examples
curl -X GET \
"https://spaces.nexudus.com/api/spaces/coworkergooglecalendars/87654321" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
200
ID of the Nexudus resource (room or desk) used as the Google Calendar push-notification watch target for this connection.
ID of the customer who connected their Google Calendar.
Full name of the customer who connected their Google Calendar.
Display name of the connected Google Calendar.
Google push-notification channel ID used to receive calendar change notifications.
Google Calendar ID of the customer’s connected calendar (e.g. user@gmail.com or a secondary calendar ID).
Date and time when the Google push-notification channel subscription expires and must be renewed.
Google-assigned resource ID for the active push-notification watch channel.
Incremental sync token returned by the Google Calendar API, used to fetch only events changed since the last sync.
Unique record identifier.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
{
"ResourceId": 0,
"CoworkerId": null,
"CoworkerFullName": null,
"Name": "",
"SubscriptionId": "",
"CalendarId": "",
"SubscriptionExpireDate": "2025-01-15T10:30:00Z",
"WatchResourceId": "",
"EventSyncToken": null,
"Id": 87654321,
"UpdatedOn": "2025-01-15T10:30:00Z",
"CreatedOn": "2025-01-10T08:00:00Z",
"UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"UpdatedBy": "admin@example.com",
"IsNew": false,
"SystemId": null,
"ToStringText": "CoworkerGoogleCalendar Example",
"LocalizationDetails": null,
"CustomFields": null
}