Create an Event
POST {{baseUrl}}/v3/grants/:grant_id/events?calendar_id={{calendar_id}}
Creates an event.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
calendar_id | string | (Required) Specify calendar ID of the event. "primary" is a supported value indicating the user's primary calendar. | |
notify_participants | boolean | Defaults to true , email notifications containing the calendar event is sent to all event participants. Microsoft accounts do not support notify_participants = False. |
Request Body
{"when"=>{"time"=>"<integer>", "timezone"=>"<string>"}, "busy"=>"<boolean>", "capacity"=>"<integer>", "conferencing"=>{"autocreate"=>{"sitc0e"=>43224679, "id65"=>"quis sint ex velit"}}, "description"=>"<string>", "hide_participants"=>"<boolean>", "location"=>"<string>", "metadata"=>{"your-key"=>"<string>"}, "organizer"=>{"name"=>"<string>", "email"=>"<string>"}, "participants"=>[{"email"=>"<string>", "comment"=>"<string>", "name"=>"<string>", "phone_number"=>"<string>"}, {"email"=>"<string>", "comment"=>"<string>", "name"=>"<string>", "phone_number"=>"<string>"}], "recurrence"=>["<string>", "<string>"], "reminders"=>{"use_default"=>"<boolean>", "overrides"=>[{"reminder_minutes"=>"<integer>", "reminder_method"=>"<string>"}, {"reminder_minutes"=>"<integer>", "reminder_method"=>"<string>"}]}, "title"=>"<string>", "visibility"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"request_id":"\u003cstring\u003e","data":"\u003cobject\u003e"}