Create Outlook Calendar

View as Markdown
Connect an Outlook / Microsoft 365 calendar using an Azure app registration's refresh-token flow. MeetStream validates the credentials against Microsoft's OAuth endpoint, resolves the account email via Microsoft Graph (that email becomes the account_id), fetches all calendars on the account, and registers Graph change-notification subscriptions for real-time sync. Reconnecting an already-connected account without `replace: true` returns 409 Conflict.

Authentication

AuthorizationToken

Format: Token <your_api_key>

Request

This endpoint expects an object.
microsoft_client_idstringRequired
microsoft_client_secretstringRequired
microsoft_refresh_tokenstringRequired
replacebooleanOptionalDefaults to false

Allow overwriting an existing connection for the same account (token rotation). Without it, reconnecting returns 409.

Response

Connection record (no token material)