IntegrationsMicrosoft 365

Create one event in an Outlook calendar

POST
/integrations/connections/{connection_id}/providers/microsoft365/events/create

Create one event in an Outlook calendar. External side effect: when attendees are listed, Outlook e-mails each of them an invitation from the connected user, and that cannot be recalled; is_online_meeting adds a Teams meeting. start and end are local date-times read in time_zone (default UTC). The idempotency key becomes the Graph transactionId, so a repeated call cannot create the event twice. calendar_owner writes into a calendar another person shares with the account.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

connection_id*string

Resource identifier: connection_id.

Formatuuid

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128
Idempotency-Key?string

A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.

Length1 <= length <= 200

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Create one event. Attendees receive an invitation e-mail from the user.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/integrations/connections/123e4567-e89b-42d3-a456-426614174000/providers/microsoft365/events/create" \  -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \  -H "Content-Type: application/json" \  -d '{    "subject": "example",    "start": "example",    "end": "example"  }'
{  "invocation_id": "123e4567-e89b-42d3-a456-426614174000",  "status": "ACTIVE",  "job_id": "example"}