Get the room's calendar event
const url = 'https://collab.work.optidata.cloud/api/rooms/a3050cd3-5921-4153-b90a-owt42-e94de63c7b15/calendar-event';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://collab.work.optidata.cloud/api/rooms/a3050cd3-5921-4153-b90a-owt42-e94de63c7b15/calendar-event \ --header 'Authorization: Bearer <token>'The Optiwork Calendar event that uses this room as its video conference, by its link or its permanent link. When several events use the same room (a permanent link reused every week), the one happening now is returned; otherwise the next upcoming one; otherwise the most recent past one.
Answers 204 with no body when no event uses the room. Anyone who
addresses the room by its link (hash or custom_hash) may read it.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”The room’s hash (from its link) or its permanent-link identifier custom_hash.
Responses
Section titled “ Responses ”The linked event.
object
Start time, as Calendar reports it.
End time, as Calendar reports it.
object
The person’s answer to the invitation, as recorded in Calendar.
Examples
{ "name": "Weekly sync", "description": "Agenda in the shared document.", "location": null, "start": "2026-10-20T13:00:00+00:00", "end": "2026-10-20T13:30:00+00:00", "is_all_day": false, "organizer": { "name": "Ana Souza", "email": "ana.souza@example.com", "avatar_url": null, "participation_status": null, "is_organizer": true }, "attendees": [ { "name": "Bruno Lima", "email": "bruno.lima@example.com", "avatar_url": null, "participation_status": "accepted", "is_organizer": false } ]}No calendar event uses this room.
No authentication key was sent, or it is malformed.
Authentication failures use an error key rather than message.
object
Examples
No bearer token sent
{ "error": "JWT passport exception: Missing bearer token in request"}The room was not addressed by its link (hash or custom_hash), and the
caller is not its owner, one of its participants or a company
super-administrator.
A refused or not-found request.
object
Examples
{ "message": "You do not have permission to view this room."}No room has this hash or permanent link.
A refused or not-found request.
object
Examples
{ "message": ""}The authentication key is expired or not recognised. Get a fresh one and retry.
Authentication failures use an error key rather than message.
object
Examples
{ "error": "JWT passport expired: Passport expired"}