Created with the event
onlineMeetingService on create puts the join link in the event's onlineMeetingUrl on Google, Microsoft 365 and CalDAV.
Name Zoom or Webex on a calendar event and Workwae creates the meeting, adds its join link, and moves or deletes it with the event.
const timeZone = "America/Chicago";
// A weekly event gets a recurring Zoom meeting
const event = await workwae.calendarEvents.create({
accountId,
calendarId,
subject: "Customer onboarding",
start: { dateTime: "2026-11-03T15:00:00", timeZone },
end: { dateTime: "2026-11-03T15:45:00", timeZone },
attendees: [{ address: "sam@example.com" }],
recurrence: ["RRULE:FREQ=WEEKLY;BYDAY=TU;COUNT=8"],
onlineMeetingService: "zoom",
});
event.onlineMeetingUrl; // the Zoom join link, on the event
// Moving the series moves the Zoom meeting too
await workwae.calendarEvents.update({
accountId,
eventId: event.id,
start: { dateTime: "2026-11-03T16:00:00", timeZone },
end: { dateTime: "2026-11-03T16:45:00", timeZone },
});from datetime import datetime
time_zone = "America/Chicago"
# A weekly event gets a recurring Zoom meeting
event = workwae.calendar_events.create(
account_id=account_id,
calendar_id=calendar_id,
subject="Customer onboarding",
start={"date_time": datetime(2026, 11, 3, 15, 0), "time_zone": time_zone},
end={"date_time": datetime(2026, 11, 3, 15, 45), "time_zone": time_zone},
attendees=[{"address": "sam@example.com"}],
recurrence=["RRULE:FREQ=WEEKLY;BYDAY=TU;COUNT=8"],
online_meeting_service="zoom",
)
print(event.online_meeting_url) # the Zoom join link, on the event
# Moving the series moves the Zoom meeting too
workwae.calendar_events.update(
account_id=account_id,
event_id=event.id,
start={"date_time": datetime(2026, 11, 3, 16, 0), "time_zone": time_zone},
end={"date_time": datetime(2026, 11, 3, 16, 45), "time_zone": time_zone},
)
One field on event create; Workwae handles the service's OAuth, the host, recurrence and lifecycle.
onlineMeetingService on create puts the join link in the event's onlineMeetingUrl on Google, Microsoft 365 and CalDAV.
A series gets a recurring meeting translated from its rule.
A new subject, time or rule moves the meeting, cancelling deletes it, and a failed create leaves none behind.
A refused grant is announced as meeting_connection.reauth_required, and mail and calendar sync go on.
Meetings are only created, updated and deleted; recordings, chat, transcripts and participant lists are never read.
Grants and app secrets are encrypted and bound to their own record, so a copied value opens nowhere else.
Send each user to a hosted session link; they sign in at Zoom or Webex and return to your redirect URI, or Workwae's confirmation page, with the outcome.
session_used, and ones after expiresAt with session_expired.meetingAppIdmeeting_app_id to use your own app, and register the redirect URI its record lists at the service.const { url } = await workwae.meetingConnectSessions.create({
accountId,
service: "webex",
redirectUri: "https://app.example.com/settings/meetings",
state: "user-42",
ttlSeconds: 1800,
});
// Send the user to url. They come back with
// ?status=success&service=webex&state=user-42
// Later: what is connected, and is it healthy?
const { items } = await workwae.meetingConnections.list({
accountId,
});
for (const connection of items) {
console.log(
connection.service, // "zoom" | "webex"
connection.email, // the host
connection.status, // "active" | "reauth_required"
connection.statusReason,
);
}
// Disconnect: the grant is deleted, meetings stay
await workwae.meetingConnections.delete({
accountId,
service: "webex",
});session = workwae.meeting_connect_sessions.create(
account_id=account_id,
service="webex",
redirect_uri="https://app.example.com/settings/meetings",
state="user-42",
ttl_seconds=1800,
)
# Send the user to session.url. They come back with
# ?status=success&service=webex&state=user-42
# Later: what is connected, and is it healthy?
connections = workwae.meeting_connections.list(account_id=account_id)
for connection in connections.items:
print(
connection.service, # "zoom" | "webex"
connection.email, # the host
connection.status, # "active" | "reauth_required"
connection.status_reason,
)
# Disconnect: the grant is deleted, meetings stay
workwae.meeting_connections.delete(account_id=account_id, service="webex")
Register a Zoom Server-to-Server OAuth app or Webex Service App once, and every account without its own grant gets meetings hosted by its user at the service.
meeting_app_exists.unverified until a test requests a token and marks it active or failing.failing, and event creates answer meeting_service_reauth_required.const app = await workwae.meetingApps.create({
kind: "zoom_s2s",
name: "Acme Zoom",
accountId: zoomAccountId, // from the app's credentials page
clientId,
clientSecret,
});
app.scopes; // what to grant the app in the Zoom Marketplace
// Token, then a host lookup for one address
const { app: checked, checks } = await workwae.meetingApps.test({
appId: app.id,
user: "priya@acme.com",
});
for (const check of checks) {
console.log(check.name, check.isOk, check.detail);
}
checked.status; // "active" | "failing"
// A Webex Service App takes the refresh token instead
await workwae.meetingApps.create({
kind: "webex_service_app",
name: "Acme Webex",
clientId: webexClientId,
clientSecret: webexClientSecret,
refreshToken: webexRefreshToken,
});app = workwae.meeting_apps.create(
kind="zoom_s2s",
name="Acme Zoom",
account_id=zoom_account_id, # from the app's credentials page
client_id=client_id,
client_secret=client_secret,
)
print(app.scopes) # what to grant the app in the Zoom Marketplace
# Token, then a host lookup for one address
tested = workwae.meeting_apps.test(app_id=app.id, user="priya@acme.com")
for check in tested.checks:
print(check.name, check.is_ok, check.detail)
print(tested.app.status) # "active" | "failing"
# A Webex Service App takes the refresh token instead
workwae.meeting_apps.create(
kind="webex_service_app",
name="Acme Webex",
client_id=webex_client_id,
client_secret=webex_client_secret,
refresh_token=webex_refresh_token,
)
The account's own grant comes first, then the tenant's server app for that service; otherwise the write is refused with meeting_service_not_connected, and a grant that needs reconnecting is not passed over for the app.
| Option | Zoom | Webex |
|---|---|---|
| User grant, platform app | User OAuth with PKCE through Workwae's Zoom app | Integration OAuth with PKCE through Workwae's Webex integration |
| User grant, your own app | Your Zoom OAuth app (zoom_oauth) | Your Webex integration (webex_oauth) |
| Server app | A Server-to-Server OAuth app (zoom_s2s) with account ID, client ID and secret; the host is looked up by email | A Service App (webex_service_app) an organization administrator authorized, with client ID, secret and refresh token |
| Scopes, listed on each registered app | meeting:write:meeting, meeting:update:meeting, meeting:delete:meeting, user:read:user; their :admin versions for a server app | meeting:schedules_write, meeting:schedules_read, spark:people_read; meeting:admin_schedule_write, meeting:admin_schedule_read, spark-admin:people_read for a Service App |
| Tokens | Each refresh rotates the refresh token, and refreshes are serialized so two processes never void a healthy grant; a server app's token lasts an hour | Access tokens last 14 days, refresh tokens 90; a Service App refreshes like an integration |
onlineMeetingService answers plan_module_unavailable.| Aspect | Zoom | Webex |
|---|---|---|
| Times | The event's wall-clock start and time zone; duration in whole minutes, 1 to 1,440 | The start cannot be in the past; the end is clamped to 10 minutes through 23 hours 59 minutes after it |
| Repeats | Daily (interval up to 99), weekly on chosen weekdays (up to 50), monthly on one day or one weekday of one week (up to 10), ending after up to 60 occurrences, at a date, or never; FREQ=DAILY;BYDAY=... becomes weekly | The event's RRULE |
Refused with meeting_ | Yearly rules, RDATE, EXDATE, several days or dates a month, and WKST with several days every second week or more | Monthly or yearly rules with several days or dates, RDATE and EXDATE |
| On update | The recurrence is sent only when the event's rule changed | Subject, times and rule follow the event |
| Notifications | Deletes skip Zoom's cancellation reminder | Webex sends no email on any write |
onlineMeetingUrl other than the meeting's own deletes the meeting; sending its own link back changes nothing.Connection changes arrive as webhooks and feed items; meeting problems on an event write answer with a stable reason.
| Event or reason | Meaning |
|---|---|
meeting_ | An account connected or reconnected its own grant; data: service, email, reconnected |
meeting_ | The service refused the account's grant; data: service, email, reason |
calendar_ | A new or removed join link shows as onlineMeetingUrl in changes |
meeting_ | No grant at the service and no server app the account may use |
meeting_ | The account's grant or the tenant's server app was refused |
meeting_ | The server app has no user with the mailbox's address |
meeting_ | The service cannot repeat a meeting by the event's rule |
meeting_ | The meeting is gone at the service when Workwae tries to move it |
meeting_, meeting_ | The service refused the meeting, or could not be reached |
multiple_ | More than one of onlineMeeting, onlineMeetingUrl and onlineMeetingService |
reauth_required.meeting_connection.reauth_required with reason app_deauthorized.import { isApiError, parseWebhook } from "@workwae/sdk";
try {
await workwae.calendarEvents.create({
...booking,
onlineMeetingService: "zoom",
});
} catch (error) {
if (
isApiError(error, "meeting_service_not_connected") ||
isApiError(error, "meeting_service_reauth_required")
) {
return askUserToConnect(booking.accountId, "zoom");
}
if (isApiError(error, "meeting_recurrence_unsupported")) {
return suggestSimplerRule(booking);
}
throw error;
}
// In your webhook handler
const event = await parseWebhook(secret, request.headers, body);
const reauth = "meeting_connection.reauth_required";
if (event.known && event.type === reauth) {
// reason: e.g. "invalid_grant" or "app_deauthorized"
const { service, email, reason } = event.data;
await notifyUser(event.accountId, service, email, reason);
}from workwae import APIError, UnknownEvent, parse_webhook
try:
workwae.calendar_events.create(
**booking,
online_meeting_service="zoom",
)
except APIError as error:
if error.code in (
"meeting_service_not_connected",
"meeting_service_reauth_required",
):
return ask_user_to_connect(booking["account_id"], "zoom")
if error.code == "meeting_recurrence_unsupported":
return suggest_simpler_rule(booking)
raise
# In your webhook handler
event = parse_webhook(secret, headers, body)
if not isinstance(event, UnknownEvent) and event.type == "meeting_connection.reauth_required":
# reason: e.g. "invalid_grant" or "app_deauthorized"
data = event.data
notify_user(event.account_id, data.service, data.email, data.reason)
The grant is deleted (and revoked at Zoom); meetings already created stay at the service with their links on the events, as they do when a user removes the app. Later events use the tenant's server app, if the account may use one.
Yes; the service's recurring meeting stays as it is, and its join link works for every occurrence. Changing the series' times or rule moves the meeting.
The calendar does, so attendees get one invitation with the join link in it.
Find free time, book the event and attach the meeting in one flow.
Interviews on real calendars, with a Zoom or Webex link that moves with them.
Every calendar, recurring series, RSVP and free/busy across providers.
Hosted and headless connect flows for mailboxes and calendars.
Workwae is in early access; tell us what you are building, and read the docs in the meantime.