Outlook Calendar Integration
Connect and manage Outlook calendars and events through ConstellationAPI.
Overview
Outlook Calendar integration uses Apideck's Calendar Unified API, providing a consistent interface to Outlook's calendar and scheduling features.
Prerequisites
- Outlook/Microsoft 365 account with appropriate permissions
- Apideck account with Outlook Calendar integration enabled
- Tenant created in ConstellationAPI
Authorization
Step 1: Create Vault Session
curl -X POST http://localhost:3007/auth/vault-session \
-H "Content-Type: application/json" \
-H "X-API-KEY: your-internal-key" \
-H "X-Tenant-Id: my-tenant" \
-d '{
"integration": "outlook-calendar"
}'
Step 2: Authorize
- Open the
sessionUrifrom the response - Complete OAuth flow in Apideck Vault
- Grant necessary permissions
Common Operations
List Calendars
curl http://localhost:3007/calendar/calendars \
-H "X-API-KEY: your-internal-key" \
-H "X-Tenant-Id: my-tenant"
Create Event
curl -X POST http://localhost:3007/calendar/calendars/cal-123/events \
-H "Content-Type: application/json" \
-H "X-API-KEY: your-internal-key" \
-H "X-Tenant-Id: my-tenant" \
-d '{
"title": "Team Meeting",
"description": "Weekly sync meeting",
"startDateTime": "2024-01-15T10:00:00Z",
"endDateTime": "2024-01-15T11:00:00Z",
"timezone": "America/New_York",
"location": "Conference Room A"
}'
Check Free/Busy
curl -X POST http://localhost:3007/calendar/free-busy \
-H "Content-Type: application/json" \
-H "X-API-KEY: your-internal-key" \
-H "X-Tenant-Id: my-tenant" \
-d '{
"startDateTime": "2024-01-15T00:00:00Z",
"endDateTime": "2024-01-15T23:59:59Z",
"attendees": ["john@example.com", "jane@example.com"]
}'
Best Practices
- Timezone Handling: Always specify timezones for events
- Recurring Events: Use recurrence patterns for regular meetings
- Attendee Management: Add attendees with proper email addresses
- Reminders: Set appropriate reminder times for events