WhenMeet.me API API

Cross-provider group scheduling: rank meeting times when everyone is free (Google Calendar + Microsoft Outlook live data, hand-marked availability for everyone else — published only for a proven address), create calendar events with Meet links (Google) or Teams links (Teams-enabled Microsoft 365 wor

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 83

POST /api/availability Rank meeting times for the participants (per-participant timezones)
POST /api/meetings Create a meeting (calendar event + Meet or Teams link per host provider + email invites)
GET /api/meetings/{id} Read a meeting by share-link id (no auth — the UUID is the capability)
POST /api/meetings/{id}/availability Aggregated group availability for a meeting (symmetric heat-map)
POST /api/meetings/{id}/suggest Propose a different time (share-link capability; optional auth)
POST /api/meetings/{id}/suggestions/{sid} Host accepts or declines a proposed time
POST /api/meetings/{id}/cancel Organizer cancels a Find-a-time meeting
POST /api/meetings/{id}/reschedule Organizer moves a Find-a-time meeting
GET /api/manual-availability Read hand-marked slots for an email (no auth; confirmed / live data only)
POST /api/manual-availability Replace hand-marked slots inside a window (live for a proven address, otherwise confirmed by email)
POST /api/manual-availability/share "Let anyone who schedules with you see this": promote a host-scoped save, confirmed by email
GET /api/manual-availability/confirm The link in the confirmation email: opens the Confirm page (never publishes)
POST /api/manual-availability/confirm Confirm a pending hand-marked save (the Confirm button on /free)
GET /api/manual-availability/pending What a pending hand-marked save would publish (the Confirm page shows it before the click)
POST /api/ask-links Sign personal /free links: what people mark there is live for you straight away, without the confirmation email
POST /api/tokens Create a personal access token (session-only)
GET /api/tokens List token metadata (never the secrets)
DELETE /api/tokens/{id} Revoke a token
GET /api/me Current user + connected calendars
GET /api/connections/{id} Preview disconnecting a calendar (what will stop working)
DELETE /api/connections/{id} Disconnect a calendar: deletes its tokens, stops push, revokes the Google grant
PUT /api/me/timezone Set your account time zone
GET /api/me/availability-lookups Who read your connected calendar through availability lookups (last 30 days)
GET /api/me/availability-blocks Accounts you blocked from reading your availability
POST /api/me/availability-blocks Block an account from reading your availability (idempotent)
DELETE /api/me/availability-blocks/{uid} Unblock an account
GET /api/billing Plan and integration usage
POST /api/billing/checkout Start Stripe Checkout for a Pro subscription ({ interval: month | year, returnTo? })
POST /api/billing/portal Open the Stripe Customer Portal (invoices, billing details)
POST /api/billing/webhook Stripe webhook receiver (Stripe-Signature verified; not for API clients)
PUT /api/me/marketing-consent Opt in / out of planning tips by email (off by default; same-origin only)
POST /api/leads "Ask for availability": WhenMeet emails each participant a link and tells the host when they answered
POST /api/leads/resend-from-token Mail a fresh confirmation link from an expired one
GET /leads/confirm Confirmation page with one "Send my request" POST button (never changes state)
POST /leads/confirm Confirm the address (double opt-in); the watch goes live and the request mails go out
GET /u/{token} Unsubscribe page with one POST button (never changes state)
POST /u/{token} Unsubscribe (RFC 8058 one-click body List-Unsubscribe=One-Click); action=resubscribe undoes it
GET /api/booking-profile Your booking profile, link types and public URL
PUT /api/booking-profile Update nickname, display name, welcome text, timezone or weekly hours (partial)
POST /api/booking-profile/ensure Zero-config provisioning (idempotent): profile + default 30-minute link
GET /api/handles/{handle} Is this nickname (or team handle) valid and free? (drives the inline editors)
POST /api/event-types Create a link type (personal, or a team link with `team`)
POST /api/event-types/member-check Which of these addresses recently booked one of your links (editor warning before adding teammates)
PATCH /api/event-types/{id} Update any subset of a link type
DELETE /api/event-types/{id} Delete a link type (bookings keep their snapshot; its team handle is freed)
POST /api/event-types/{id}/members/{email}/resend Re-send a team invite (fresh token)
GET /api/bookings Bookings you own or attend as a team member (max 100)
GET /api/me/meetings Your meetings: group meetings you organize or are invited to + bookings you host or are assigned
GET /api/team-invites/{token} Read a team invite (no auth — the token is the capability)
POST /api/team-invites/{token}/accept Join a team link (any connected calendar account)
POST /api/team-invites/{token}/decline Decline a team invite (no auth; the owner gets a short note)
GET /api/me/team-memberships Team links you host as an active member, and pending invites to host one (other people's links)
POST /api/me/team-memberships/{eventTypeId}/leave Leave a team link (same as declining the invite; the owner gets a short note)
POST /api/me/team-memberships/{eventTypeId}/accept Accept a pending team-link invite in-app (same effect as the emailed /join link)
POST /api/me/team-memberships/{eventTypeId}/decline Decline a pending team-link invite in-app (the owner gets a short note)
GET /api/public/{handle} A person’s public booking page (name, welcome, active link types) — or a team handle’s single link
GET /api/public/{handle}/{slug} One link type (personal or team)
POST /api/public/{handle}/{slug}/slots Bookable times — slots and counts only, never busy blocks or emails
POST /api/public/{handle}/{slug}/book Book a slot: calendar event + Meet link (Google host) or Teams link (Teams-enabled Microsoft 365 work/school host) + invites
GET /api/bookings/{id} Read a booking for its cancel / reschedule page
POST /api/bookings/{id}/slots Slots for rescheduling (the booking’s own time does not block itself)
POST /api/bookings/{id}/cancel Cancel: removes the calendar event, emails everyone a CANCEL ICS
POST /api/bookings/{id}/reschedule Move a booking to another slot (event moved, updated invites)
GET /api/integrations Integration status + the last 30 sync log rows (never secrets)
GET /api/integrations/{provider}/connect Start OAuth ("Connect HubSpot" / "Connect Salesforce" / "Add to Slack") — browser navigation
GET /api/integrations/{provider}/callback OAuth return (state is single-use)
DELETE /api/integrations/{provider} Disconnect an integration
PUT /api/integrations/slack Slack without the app: paste an incoming-webhook URL
PUT /api/integrations/pipedrive Pipedrive: paste your personal API token (Settings → Personal preferences → API)
PUT /api/integrations/webhook Create / update the signed booking webhook (Zapier, Make, n8n, your backend)
POST /api/integrations/{provider}/test Send a sample booking through Slack or the webhook
POST /api/import/calendly Import from Calendly with one pasted personal access token
POST /api/import/hubspot Import your HubSpot Meetings links (through the connected HubSpot account)
GET /.well-known/oauth-protected-resource Protected-resource metadata (RFC 9728); also at /.well-known/oauth-protected-resource/mcp
GET /.well-known/oauth-authorization-server Authorization-server metadata (RFC 8414)
GET /.well-known/mcp.json MCP server card: transport, protocol versions, auth and tools
POST /oauth/register Dynamic Client Registration (RFC 7591), public clients only
GET /oauth/authorize Authorization endpoint: sign in + consent page (HTML)
POST /oauth/token Token endpoint: authorization_code (PKCE) and refresh_token (rotating)
POST /oauth/revoke Token revocation (RFC 7009)
GET /api/oauth/apps Connected apps: OAuth clients you authorized (session-only)
DELETE /api/oauth/apps/{clientId} Disconnect an app (revokes its tokens for you)
POST /mcp MCP server (Model Context Protocol, Streamable HTTP)

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/whenmeet-me:whenmeet-me-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

whenmeet-me-api-openapi.json Raw ↑
{"openapi":"3.1.0","info":{"title":"WhenMeet.me API","version":"1.0.0","description":"Cross-provider group scheduling: rank meeting times when everyone is free (Google Calendar + Microsoft Outlook live data, hand-marked availability for everyone else — published only for a proven address), create calendar events with Meet links (Google) or Teams links (Teams-enabled Microsoft 365 work/school), and negotiate alternate times. Plus personal and team booking links (whenmeet.me/@nickname — live the moment a calendar is connected; team links check each teammate’s own hours and can have their own whenmeet.me/@team address), reminder emails, HubSpot / Pipedrive / Slack / signed-webhook integrations (Salesforce once its customer install package ships) and one-call imports from Calendly and HubSpot Meetings. An MCP server wrapping this API is served at POST /mcp (Streamable HTTP). Errors are { \"error\": \"<code>\" }.","x-last-updated":"2026-10-09"},"servers":[{"url":"https://whenmeet.me"}],"tags":[{"name":"Account","description":"Your account, calendar connections and who may read your availability."},{"name":"Booking links","description":"Your zero-config personal link (whenmeet.me/@nickname) and its link types."},{"name":"Team links","description":"One link backed by several people: everyone must be free (\"all\") or whoever is free (\"any\"), each inside their own working hours; optionally its own whenmeet.me/@team address."},{"name":"Public booking","description":"What a visitor’s browser (or agent) calls — no account needed."},{"name":"Manage booking","description":"Cancel / reschedule with the invitee token or as the owner."},{"name":"Integrations","description":"HubSpot and Pipedrive (CRM), Salesforce (built; external orgs can connect once the customer install package ships), Slack (notifications) and a signed webhook for everything else."},{"name":"Import","description":"Move over from Calendly or HubSpot Meetings in one call."},{"name":"OAuth","description":"OAuth 2.1 for MCP connectors (Claude.ai, ChatGPT): discovery, registration, authorize, token, revoke, connected apps."}],"components":{"securitySchemes":{"bearerToken":{"type":"http","scheme":"bearer","description":"Personal access token or OAuth access token (format mn_…). Create a PAT with POST /api/tokens while signed in in a browser; connectors get OAuth tokens from /oauth/token (valid only at /mcp). Scopes: read (GET endpoints and the read-only slot / ranking POSTs) and write (everything else); a call outside the scope gets 403 { error: \"insufficient_scope\" }. New PATs expire after 90 days by default; expired → 401 invalid_token. PATs created before scopes existed keep read+write and never expire. A Bearer header that does not resolve (malformed, unknown or revoked) is answered 401 { error: \"invalid_token\" } on every /api/* route and on /mcp — never silently treated as anonymous."},"sessionCookie":{"type":"apiKey","in":"cookie","name":"__Host-session","description":"Browser session minted by the Google/Microsoft OAuth flow. The flow is bound to the browser and session that started it (a __Host-oauth-<provider> cookie carrying the state, and the signed-in uid stored with it); a callback from another browser or session redirects to <return_to>?auth_error=invalid_state and does nothing. Only an address the provider verified signs in (Google: email_verified; Microsoft: a personal account's email, or a work account's UPN unless the optional xms_edov claim vouches for its email); otherwise the callback redirects to <return_to>?auth_error=email_not_verified (connect_email_not_verified while signed in) and nothing is stored. Signed out, landing in an existing account by address also needs the provider to be authoritative for it (Gmail, a Workspace hd, a work account, a Microsoft mail domain) or that account to already have this connection; else <return_to>?auth_error=use_original_sign_in."}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string","description":"Stable snake_case code, e.g. slot_unavailable."}},"required":["error"]},"WeeklyHours":{"type":"object","description":"Working hours per weekday in the profile timezone, or in hoursTimezone for a personal link override: up to 6 [\"HH:MM\",\"HH:MM\"] intervals per day (\"24:00\" allowed as an end). Missing days mean no hours; overlapping intervals merge. Profile default Mon–Fri 09:00–17:00.","properties":{"mon":{"type":"array","maxItems":6,"items":{"type":"array","items":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"minItems":2,"maxItems":2}},"tue":{"type":"array","maxItems":6,"items":{"type":"array","items":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"minItems":2,"maxItems":2}},"wed":{"type":"array","maxItems":6,"items":{"type":"array","items":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"minItems":2,"maxItems":2}},"thu":{"type":"array","maxItems":6,"items":{"type":"array","items":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"minItems":2,"maxItems":2}},"fri":{"type":"array","maxItems":6,"items":{"type":"array","items":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"minItems":2,"maxItems":2}},"sat":{"type":"array","maxItems":6,"items":{"type":"array","items":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"minItems":2,"maxItems":2}},"sun":{"type":"array","maxItems":6,"items":{"type":"array","items":{"type":"string","pattern":"^\\d{2}:\\d{2}$"},"minItems":2,"maxItems":2}}},"example":{"mon":[["09:00","17:00"]],"tue":[["09:00","12:00"],["13:00","17:00"]],"sat":[],"sun":[]}},"BookingQuestion":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_]{1,32}$"},"label":{"type":"string","maxLength":200},"type":{"type":"string","enum":["text","textarea"]},"required":{"type":"boolean"}},"required":["id","label","type","required"]},"Profile":{"type":"object","properties":{"handle":{"type":"string"},"displayName":{"type":["string","null"]},"welcome":{"type":["string","null"],"description":"Intro shown on the public page."},"timezone":{"type":"string","description":"IANA zone the weekly hours are expressed in."},"weeklyHours":{"$ref":"#/components/schemas/WeeklyHours"},"createdAt":{"type":"integer","description":"unix ms"},"updatedAt":{"type":"integer","description":"unix ms"}}},"TeamSettings":{"type":"object","description":"Turns a link into a TEAM link. mode \"all\" = every member must be free (e.g. a two-person interview panel); \"any\" = whoever is free, assigned in turn (round-robin). Members get an email invite and join with one calendar connect.","properties":{"mode":{"type":"string","enum":["all","any"]},"members":{"type":"array","items":{"type":"string","format":"email"},"maxItems":10,"description":"Colleagues to invite (you excluded)."},"includeMe":{"type":"boolean","description":"In all mode you attend with the team; in any mode you join the round-robin pool so one available person (you or a teammate) receives the booking. Default true."}},"required":["mode"]},"TeamMember":{"type":"object","properties":{"email":{"type":"string","format":"email"},"name":{"type":["string","null"]},"status":{"type":"string","enum":["pending","active","declined"]},"isOwner":{"type":"boolean"},"visibility":{"type":"string","enum":["self","org","none"],"description":"self = joined, their own calendar is used; org = not joined yet but your calendar account can see their free/busy (same Workspace / Microsoft 365 org); none = not visible until they join (excluded from the check)."},"hours":{"$ref":"#/components/schemas/ParticipantHours"},"canHost":{"type":"boolean","description":"False when this participant (owner included) has a calendar but no connection that can add events, so an `any` link never assigns them."}}},"ParticipantHours":{"type":"object","description":"The working hours a team participant is checked against (owner view only — never public). Every teammate is checked against their OWN hours: own = their booking profile (also your own entry); default = joined but no profile yet: Mon–Fri 09:00–17:00 in their account timezone (UTC if unknown); owner = not joined yet (pending / declined): your hours and zone.","properties":{"weeklyHours":{"$ref":"#/components/schemas/WeeklyHours"},"tz":{"type":"string","description":"IANA zone the hours are in."},"source":{"type":"string","enum":["own","default","owner"]}},"required":["weeklyHours","tz","source"]},"TeamHealth":{"type":"object","description":"Can this team link take bookings right now? The same strict calendar read the public page does (today in the link zone + 14 days), served from its 60 s cache. Inactive links are not read and report ok.","properties":{"ok":{"type":"boolean"},"reason":{"type":["string","null"],"enum":["member_unreadable","no_checkable_member",null],"description":"member_unreadable = an \"all\" participant, or every \"any\" participant, can’t be read (an \"any\" link with only some unreadable stays ok); no_checkable_member = nobody can be checked, or you have no calendar connected."},"memberEmail":{"type":["string","null"],"description":"The first unreadable participant (member_unreadable only)."}},"required":["ok","reason","memberEmail"]},"EventTypeInput":{"type":"object","description":"Link type settings. Only title is needed to create one; everything else has a sensible default.","properties":{"title":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","description":"Default: from the title (-2, -3 … appended if taken)."},"description":{"type":["string","null"],"maxLength":2000},"durationMin":{"type":"integer","minimum":5,"maximum":480,"multipleOf":5,"default":30},"conference":{"type":["string","null"],"enum":["meet","teams",null],"description":"Default: meet for a Google calendar, teams for Microsoft."},"bufferBeforeMin":{"type":"integer","minimum":0,"maximum":240,"default":0},"bufferAfterMin":{"type":"integer","minimum":0,"maximum":240,"default":0},"minNoticeMin":{"type":"integer","minimum":0,"maximum":43200,"default":240},"maxDaysAhead":{"type":"integer","minimum":1,"maximum":60,"default":60},"slotStepMin":{"type":"integer","enum":[5,10,15,20,30,45,60,90,120],"default":30},"dailyLimit":{"type":["integer","null"],"minimum":1,"maximum":50,"default":null},"questions":{"type":"array","maxItems":10,"items":{"$ref":"#/components/schemas/BookingQuestion"},"description":"Name and email are always collected."},"weeklyHours":{"anyOf":[{"$ref":"#/components/schemas/WeeklyHours"},{"type":"null"}],"description":"Personal links only. Set with hoursTimezone to override this link’s weekly hours; null follows the booking profile. Team links reject an override (invalid_weekly_hours)."},"hoursTimezone":{"type":["string","null"],"description":"IANA timezone for weeklyHours. A non-null weeklyHours needs a valid non-null zone; clear both to follow the profile (invalid_hours_timezone on a mismatched pair)."},"reminders":{"type":"array","items":{"type":"integer","enum":[15,30,60,120,240,1440,2880]},"maxItems":3,"default":[1440,60],"description":"Reminder emails to the invitee and guests, in minutes before the start (24 h and 1 h by default). Any 3 of the allowed values; duplicates collapse, stored sorted descending. [] turns reminders off; null resets to the default. Error: invalid_reminders."},"active":{"type":"boolean","default":true},"team":{"anyOf":[{"$ref":"#/components/schemas/TeamSettings"},{"type":"null"}]},"teamHandle":{"type":["string","null"],"description":"Team links only: the link’s own public address, whenmeet.me/@<teamHandle> (same rules as nicknames and the same namespace; a leading @ and upper case are forgiven). null or \"\" releases it; turning the link personal releases it too. Errors: invalid_team_handle (bad handle, or the link is / becomes personal), 409 handle_taken (held by any nickname — yours included — or another link; nothing changes), 400 too_many_team_handles (you already hold 5 team handles on other links; nothing changes)."},"teamName":{"type":["string","null"],"maxLength":80,"description":"Shown with the team handle (\"Acme Sales\"); null → the link title. Stored only next to a team handle (ignored without one). Error: invalid_team_name."}}},"EventType":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":["string","null"]},"durationMin":{"type":"integer"},"conference":{"type":["string","null"],"enum":["meet","teams",null]},"bufferBeforeMin":{"type":"integer"},"bufferAfterMin":{"type":"integer"},"minNoticeMin":{"type":"integer"},"maxDaysAhead":{"type":"integer"},"slotStepMin":{"type":"integer"},"dailyLimit":{"type":["integer","null"]},"questions":{"type":"array","items":{"$ref":"#/components/schemas/BookingQuestion"}},"weeklyHours":{"anyOf":[{"$ref":"#/components/schemas/WeeklyHours"},{"type":"null"}],"description":"Personal link override; null follows the profile. Team links use each participant’s hours."},"hoursTimezone":{"type":["string","null"],"description":"Timezone for the personal link’s weeklyHours override; null when following the profile."},"reminders":{"type":"array","items":{"type":"integer"},"description":"Minutes before the start, sorted descending; [] = off."},"active":{"type":"boolean"},"position":{"type":"integer"},"url":{"type":"string","format":"uri","description":"Public booking URL, e.g. https://whenmeet.me/@anna/intro"},"team":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["all","any"]},"members":{"type":"array","items":{"$ref":"#/components/schemas/TeamMember"}},"health":{"$ref":"#/components/schemas/TeamHealth"}}},{"type":"null"}]},"teamHandle":{"type":["string","null"],"description":"The team link’s own handle (null for personal links and team links without one)."},"teamName":{"type":["string","null"]},"teamUrl":{"type":["string","null"],"format":"uri","description":"https://whenmeet.me/@<teamHandle>, or null."}}},"BookingProfileResponse":{"type":"object","properties":{"profile":{"anyOf":[{"$ref":"#/components/schemas/Profile"},{"type":"null"}]},"suggestedHandle":{"type":"string"},"eventTypes":{"type":"array","items":{"$ref":"#/components/schemas/EventType"}},"hasCalendar":{"type":"boolean"},"calendarOk":{"type":"boolean","description":"The booking page can read the calendar right now (false: revoked / expired token or missing scope — reconnect)."},"calendarWritable":{"type":"boolean","description":"False when none of your connections can add events (read-only grant): your personal links (and team links needing you as organizer) take no bookings — reconnect and allow event creation."},"publicUrl":{"type":["string","null"],"format":"uri"}}},"PublicEventType":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":["string","null"]},"durationMin":{"type":"integer"},"conference":{"type":["string","null"],"enum":["meet","teams",null]},"questions":{"type":"array","items":{"$ref":"#/components/schemas/BookingQuestion"}},"minNoticeMin":{"type":"integer"},"maxDaysAhead":{"type":"integer"},"team":{"anyOf":[{"type":"object","description":"Who the visitor will meet — names and initials only, never emails (null name = a teammate who has not joined yet).","properties":{"mode":{"type":"string","enum":["all","any"]},"members":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"initials":{"type":"string"}}}}}},{"type":"null"}]}}},"PublicProfile":{"type":"object","properties":{"handle":{"type":"string"},"name":{"type":"string","description":"Display name; for a team handle the team name, else the link title."},"welcome":{"type":["string","null"]},"timezone":{"type":"string"},"acceptingBookings":{"type":"boolean"},"eventTypes":{"type":"array","items":{"$ref":"#/components/schemas/PublicEventType"}},"aliasOf":{"type":"object","description":"Team handles only (absent for people): the owner’s handle + the link slug — the canonical /api/public/{handle}/{slug} route for slots and book.","properties":{"handle":{"type":"string"},"slug":{"type":"string"}},"required":["handle","slug"]}}},"BookableSlot":{"type":"object","properties":{"start":{"type":"integer","description":"unix ms"},"end":{"type":"integer","description":"unix ms"},"othersFree":{"type":"integer","description":"Visitor side (signed-in visitor + guests) free at this time."},"othersTotal":{"type":"integer","description":"Visitor-side people checked (0 for anonymous visitors)."}}},"SlotsResponse":{"type":"object","properties":{"slots":{"type":"array","items":{"$ref":"#/components/schemas/BookableSlot"}},"hostTimezone":{"type":"string"},"window":{"type":"object","properties":{"from":{"type":"integer","description":"unix ms"},"to":{"type":"integer","description":"unix ms"}}},"viewer":{"anyOf":[{"type":"object","properties":{"email":{"type":"string"},"name":{"type":["string","null"]}}},{"type":"null"}]},"participants":{"type":"array","description":"Visitor side only — never the host or team.","items":{"type":"object","properties":{"email":{"type":"string"},"source":{"type":"string","enum":["self","manual","host"]}}}}}},"HostBooking":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["confirmed","cancelled"]},"startsAt":{"type":"integer","description":"unix ms"},"endsAt":{"type":"integer","description":"unix ms"},"eventTitle":{"type":"string"},"eventTypeId":{"type":["string","null"]},"invitee":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"}}},"guests":{"type":"array","items":{"type":"string"}},"answers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"answer":{"type":"string"}}}},"notes":{"type":["string","null"]},"assignedTo":{"anyOf":[{"type":"object","properties":{"email":{"type":"string"},"name":{"type":["string","null"]}}},{"type":"null"}]},"meetingId":{"type":["string","null"]},"meetingUrl":{"type":["string","null"]},"cancelReason":{"type":["string","null"]},"cancelledBy":{"type":["string","null"],"enum":["invitee","host",null]},"createdAt":{"type":"integer","description":"unix ms"},"isOwner":{"type":"boolean"},"canModify":{"type":"boolean","description":"Owner, organizer or the \"any\" assignee: may cancel / reschedule. An \"all\" teammate only sees it."}}},"ManagedBooking":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["confirmed","cancelled"]},"startsAt":{"type":"integer","description":"unix ms"},"endsAt":{"type":"integer","description":"unix ms"},"eventTitle":{"type":"string"},"eventType":{"anyOf":[{"type":"object","properties":{"slug":{"type":"string"},"durationMin":{"type":"integer"},"maxDaysAhead":{"type":"integer"}}},{"type":"null"}]},"handle":{"type":["string","null"]},"host":{"type":"object","properties":{"name":{"type":"string"}}},"assignedTo":{"anyOf":[{"type":"object","properties":{"name":{"type":["string","null"]},"email":{"type":"string","format":"email"}}},{"type":"null"}]},"attendees":{"type":"array","description":"Complete invitation roster; does not grant access to attendee calendars.","items":{"type":"object","properties":{"email":{"type":"string","format":"email"},"name":{"type":["string","null"]},"role":{"type":"string","enum":["organizer","invitee","guest","member"]}},"required":["email","name","role"]}},"invitee":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"}}},"guests":{"type":"array","items":{"type":"string"}},"conferenceUrl":{"type":["string","null"]},"meetingId":{"type":["string","null"]},"meetingUrl":{"type":["string","null"]},"canModify":{"type":"boolean","description":"Cancel / reschedule allowed (confirmed, not started, caller may modify)."}}},"SyncLogRow":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["hubspot","salesforce","pipedrive","slack","webhook"]},"bookingId":{"type":["string","null"]},"event":{"type":"string"},"status":{"type":"string","enum":["ok","error","skipped"]},"detail":{"type":["string","null"],"maxLength":500},"createdAt":{"type":"integer","description":"unix ms"}}},"ImportFinding":{"type":"object","description":"A skipped link or a setting warning. Translate by code (+ params); reason is the same message in English.","properties":{"name":{"type":"string"},"code":{"type":"string","enum":["invalid_settings","slug_taken","one_off","meeting_poll","round_robin","collective","team_event","group_event","secret_event","inactive","group_link","unsupported_link_type","availability_scope_missing","too_many_links","event_hours_unrepresentable","event_hours_no_rule","event_hours_unreadable","calendly_multiple_durations","calendly_duration_rounded","name_shortened","description_shortened","questions_shortened","questions_free_text","multiple_locations","video_provider_not_copied","location_not_copied","no_location","date_exceptions_not_imported","intervals_unrepresentable","calendly_no_duration","calendly_defaults","buffer_unrepresentable","step_unrepresentable","horizon_unrepresentable","hubspot_description_shortened","hubspot_fields_unrepresentable","hubspot_fields_omitted","hubspot_labels_shortened","hubspot_choice_free_text","hubspot_location_not_copied","hubspot_consent_not_copied","hubspot_multiple_durations","hubspot_duration_rounded","hubspot_details_unavailable","hubspot_no_duration","hubspot_custom_availability","hubspot_availability_undocumented","hubspot_date_range_not_imported","hubspot_defaults"],"description":"Stable machine code. Skipped: invalid_settings {error}, slug_taken {slug}, one_off, meeting_poll, round_robin, collective, team_event, group_event, secret_event, inactive, group_link, unsupported_link_type, availability_scope_missing, too_many_links {max}. Warnings: everything else; *_multiple_durations {durations, to}, *_duration_rounded {from, to}, calendly_defaults / hubspot_defaults {settings}."},"params":{"type":"object","additionalProperties":{"type":["string","number"]},"description":"Values for the message. error (invalid_settings) is the untranslated event-type validation code, e.g. invalid_duration_min. settings is a comma-separated list of setting codes: setting_notice, setting_horizon, setting_buffers, setting_buffer, setting_step, setting_daily_limit, setting_reminders."},"reason":{"type":"string","description":"English text (kept for compatibility)."}},"required":["name","code","reason"]},"ImportPreview":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":["string","null"],"description":"Suggested nickname (with -1, -2 … if taken)."},"displayName":{"type":["string","null"]},"timezone":{"type":["string","null"]},"weeklyHours":{"anyOf":[{"$ref":"#/components/schemas/WeeklyHours"},{"type":"null"}]}}},"applyProfile":{"type":"boolean","description":"true while your auto-created profile is untouched — apply will then take over nickname, zone and hours."},"eventTypes":{"type":"array","items":{"$ref":"#/components/schemas/EventTypeInput"}},"skipped":{"type":"array","items":{"$ref":"#/components/schemas/ImportFinding"},"description":"Whole links or types not imported, with a reason."},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ImportFinding"},"description":"Settings changed, approximated or unavailable for review before applying; separate from skipped links."}}},"ImportResult":{"type":"object","properties":{"created":{"type":"array","items":{"$ref":"#/components/schemas/EventType"}},"skipped":{"type":"array","items":{"$ref":"#/components/schemas/ImportFinding"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/ImportFinding"},"description":"Setting-level differences to review on the imported links."},"profile":{"$ref":"#/components/schemas/Profile"}}},"BookingEventPayload":{"type":"object","description":"Body of every outbound booking webhook (and what the HubSpot / Salesforce / Pipedrive / Slack adapters receive). Never contains the invitee manage token.","properties":{"event":{"type":"string","enum":["booking.created","booking.cancelled","booking.rescheduled","test"]},"occurredAt":{"type":"integer","description":"unix ms"},"booking":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["confirmed","cancelled"]},"startsAt":{"type":"integer","description":"unix ms"},"endsAt":{"type":"integer","description":"unix ms"},"timezone":{"type":"string"},"title":{"type":"string"},"eventType":{"type":"object","properties":{"id":{"type":["string","null"]},"slug":{"type":["string","null"]},"title":{"type":"string"},"durationMin":{"type":"integer"}}},"invitee":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"}}},"guests":{"type":"array","items":{"type":"string"}},"answers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"answer":{"type":"string"}}}},"notes":{"type":["string","null"]},"conferenceUrl":{"type":["string","null"]},"meetingUrl":{"type":["string","null"]},"utm":{"type":"object","additionalProperties":{"type":"string"}},"cancelReason":{"type":["string","null"]},"cancelledBy":{"type":["string","null"],"enum":["invitee","host",null]},"previousStartsAt":{"type":["integer","null"]},"team":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["all","any"]},"members":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":["string","null"]}}}}}},{"type":"null"}]},"assignedTo":{"anyOf":[{"type":"object","properties":{"email":{"type":"string"},"name":{"type":["string","null"]}}},{"type":"null"}]}}},"host":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"name":{"type":["string","null"]}}}}},"Interval":{"type":"object","properties":{"start":{"type":"integer"},"end":{"type":"integer"}},"required":["start","end"],"description":"Half-open interval in unix milliseconds."},"RankedSlot":{"type":"object","properties":{"start":{"type":"integer"},"end":{"type":"integer"},"freeCount":{"type":"integer"},"score":{"type":"number"},"allFree":{"type":"boolean","description":"true = everyone free; false = compromise slot (only appended when there are too few everyone-free slots)."}}}}},"paths":{"/api/availability":{"post":{"summary":"Rank meeting times for the participants (per-participant timezones)","description":"Reading another user’s connected calendar is logged for that user (GET /api/me/availability-lookups) and limited per viewer (429 lookup_limit); an owner can block a viewer (POST /api/me/availability-blocks). Merges live free/busy per participant: their own connected calendar (source \"self\"), hand-marked slots (source \"manual\": the owner-proven ones, plus those marked through the caller’s own ask-links), or the host’s view (source \"host\"). Calls without a connected host calendar (anonymous, or signed in but not connected) fall back to hand-marked slots only — participants with none are returned as source \"host\" with readable:false (no data — never treat them as free). Never fabricated. Ranking is per-participant timezone-aware (each filtered/scored in their own zone), scores buffer time around existing meetings and prefers sooner slots, and — when there are too few everyone-free slots — appends compromise slots (allFree:false). At most the 16 most-common participant timezones are evaluated per request (rarer zones fall back to the requester tz) to bound worst-case CPU.","security":[{"bearerToken":[]},{"sessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"participants":{"type":"array","items":{"type":"string","format":"email"},"minItems":1,"maxItems":50,"description":"Up to 50 distinct emails (trimmed, lower-cased, deduped)."},"from":{"type":"integer","description":"Window start, unix ms."},"to":{"type":"integer","description":"Window end, unix ms: after from; the requested window may reach at most 60 days back or ahead from now."},"durationMin":{"type":"integer","enum":[15,30,45,60],"default":30,"description":"Optional; anything else falls back to 30."},"tz":{"type":"string","description":"Requester IANA zone: fallback for participants whose own zone is unknown, plus the round-hour scoring bonus."},"turnstileToken":{"type":"string","description":"Cloudflare Turnstile token. Only needed after a 403 turnstile_required (browser sessions past 15 new foreign addresses in the rolling hour); a valid token exempts the session for one hour. PATs and MCP never need it."}},"required":["participants","from","to"]}}}},"responses":{"200":{"description":"availability[] (busy intervals per participant), slots[] (ranked; allFree:true everyone-free first, then allFree:false compromise slots; capped to the first 90 days of the window), participantSources[] (per-participant tz only for authenticated callers; calendarStatus \"unavailable\" when a connected calendar could not be read — a token that needs re-auth, a provider error, or an owner who blocked you — and that participant is then treated as busy for the whole window, never as free; readable false on \"host\" rows whose calendar could not be read — every \"host\" row when no calendar token was used — so their empty busy means no data, not free), source: \"real\", cached."},"400":{"description":"bad_request | invalid_participants (none, more than 50, or an invalid email) | bad_window (to ≤ from, starting more than 60 days ago, or ending more than 60 days from now).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"invalid_token (a Bearer token that is malformed, unknown or revoked).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"turnstile_required — browser sessions only (never PATs or MCP): the request adds new foreign addresses past 15 in the rolling hour; resend with turnstileToken. Repeat-only requests are never challenged; nothing is written on refusal.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"rate_limited — anonymous callers: more than 60 requests per IP in 10 minutes. lookup_limit — you read more than 30 other people’s connected calendars in the last hour or 50 in the last 24 h (only new addresses count; repeats are free; nothing is counted on refusal).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/meetings":{"post":{"summary":"Create a meeting (calendar event + Meet or Teams link per host provider + email invites)","description":"Meet links need a Google host calendar; Teams links need a Teams-enabled Microsoft 365 work/school host (personal Microsoft accounts get none).","security":[{"bearerToken":[]},{"sessionCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,64}$"},"description":"Per-user key reused on retry: a key whose meeting exists returns it with replayed:true (no quota spent); a claim without a meeting row answers 409 in_progress; only a failed provider create (no event) releases the key. Pruned after 24 h."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"participants":{"type":"array","items":{"type":"string","format":"email"},"maxItems":50,"description":"Up to 50 submitted emails; trimmed, lower-cased and deduplicated before any provider, database or mail write."},"startsAt":{"type":"integer","description":"unix ms; at most 60 days from now."},"endsAt":{"type":"integer","description":"unix ms; after startsAt."},"title":{"type":"string","maxLength":200},"conference":{"type":"string","enum":["meet","teams"],"nullable":true},"tz":{"type":"string"}},"required":["participants","startsAt","endsAt"]}}}},"responses":{"200":{"description":"id, shareUrl (/m/<id>), conferenceUrl, eventLink, provider, invites (per-recipient email delivery results). A replayed Idempotency-Key returns the stored meeting with replayed:true (no invites, no eventLink)."},"400":{"description":"invalid_participants (more than 50 submitted entries, or an invalid email) | invalid_title | bad_window (endsAt ≤ startsAt, or startsAt more than 60 days ahead) | no_matching_connection (host lacks the provider needed for the requested conference type).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"unauthenticated (no session or token), or invalid_token (a Bearer token that is malformed, unknown or revoked — never a silent anonymous fallback).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"in_progress — a previous attempt with this Ide

# --- truncated at 32 KB (134 KB total) ---
# Full source: https://artifacts.apis.io/whenmeet-me/openapi/_original/whenmeet-me-api-openapi.json