maton outlook event create
Create a calendar event
maton outlook event create [flags]
Options
-
--attendees <string> - Attendee email(s), comma-separated
-t,--body <string>- Event body content
-F,--body-file <string>- Read event body from a file path (or '-' for stdin)
-
--calendar <string> - Calendar ID (default: primary calendar)
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-
--end <string> - End time, ISO 8601 e.g. 2026-05-10T11:00:00 (required)
-
--html - Treat body as HTML (default: plain text)
-q,--jq <expression>- Filter JSON output using a jq expression
-
--json - Output raw JSON
-
--location <string> - Location display name
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--start <string> - Start time, ISO 8601 e.g. 2026-05-10T10:00:00 (required)
-
--subject <string> - Event subject (required)
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
-
--timezone <string> (default "UTC") - IANA or Windows timezone name (default: UTC)
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton outlook event create --subject "Sync" --start 2026-05-10T10:00:00 --end 2026-05-10T11:00:00
$ maton outlook event create --subject Review --start 2026-05-10T14:00:00 --end 2026-05-10T15:00:00 --timezone "Pacific Standard Time" --attendees alice@example.com,bob@example.com --location "Room 4"
$ maton outlook event create --calendar AQMk... --subject 1:1 --start 2026-05-10T09:00:00 --end 2026-05-10T09:30:00 --body "Agenda..." --html