Create Outlook Calendar
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_id
microsoft_client_secret
microsoft_refresh_token
replace
Allow overwriting an existing connection for the same account (token rotation). Without it, reconnecting returns 409.
Response
Connection record (no token material)
