Astrocal
API ReferenceCalendarsV1CalendarsMicrosoftConnect

Initiate Microsoft Calendar OAuth flow

Returns a Microsoft OAuth authorization URL with PKCE. The user should be redirected to this URL to authorize calendar access.

GET
/v1/calendars/microsoft/connect

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Use your API key as the bearer token.

In: header

Query Parameters

redirect_uri?string
Formaturi

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/calendars/microsoft/connect"
{
  "authorization_url": "string"
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}