curl --request POST \
--url https://api.klavis.ai/sandbox/outlook_calendar/{sandbox_id}/initialize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"calendar_events": [
{
"title": "Team Meeting",
"start_time": {
"dateTime": "2025-11-20T14:00:00",
"timeZone": "UTC"
},
"end_time": {
"dateTime": "2025-11-20T15:00:00",
"timeZone": "UTC"
},
"event_location": "Conference Room A"
},
{
"title": "Project Review",
"start_time": {
"dateTime": "2025-11-21T10:00:00",
"timeZone": "UTC"
},
"end_time": {
"dateTime": "2025-11-21T12:00:00",
"timeZone": "UTC"
},
"event_location": "Virtual",
"event_attendees": [
"colleague@example.com",
"manager@example.com"
]
},
{
"title": "1:1 with Manager",
"start_time": {
"dateTime": "2025-11-22T15:00:00",
"timeZone": "UTC"
},
"end_time": {
"dateTime": "2025-11-22T15:30:00",
"timeZone": "UTC"
}
},
{
"title": "Sprint Planning",
"start_time": {
"dateTime": "2025-11-23T09:00:00",
"timeZone": "UTC"
},
"end_time": {
"dateTime": "2025-11-23T11:00:00",
"timeZone": "UTC"
},
"event_location": "Main Office - Room 301",
"event_attendees": [
"dev1@example.com",
"dev2@example.com",
"pm@example.com"
]
},
{
"title": "Client Presentation",
"start_time": {
"dateTime": "2025-11-24T14:00:00",
"timeZone": "UTC"
},
"end_time": {
"dateTime": "2025-11-24T16:00:00",
"timeZone": "UTC"
},
"event_location": "Zoom Meeting",
"event_attendees": [
"client@company.com",
"sales@example.com"
]
}
]
}
'