POST {{baseUrl}}/calendars/:calId/events?sendUpdates=none
Creates an event. Scopes: Rate Limit Label: calendar:write
,calendar:write:admin
HEAVY
Body
PARAM
Key | Datatype | Required | Description |
sendUpdates
|
string | Whether to send notifications about the creation of the new event. Note that some emails might still be sent. |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"start": {
"date": "<date>",
"dateTime": "<dateTime>",
"timeZone": "<string>"
},
"end": {
"date": "<date>",
"dateTime": "<dateTime>",
"timeZone": "<string>"
},
"attendees": [
{
"email": "<email>",
"additionalGuests": "<integer>",
"displayName": "<string>",
"organizer": "<boolean>",
"optional": "<boolean>",
"self": "<boolean>",
"resource": "<boolean>",
"responseStatus": "tentative"
},
{
"email": "<email>",
"additionalGuests": "<integer>",
"displayName": "<string>",
"organizer": "<boolean>",
"optional": "<boolean>",
"self": "<boolean>",
"resource": "<boolean>",
"responseStatus": "declined"
}
],
"colorId": "<string>",
"description": "<string>",
"guestsCanInviteOthers": "<boolean>",
"guestsCanModify": "<boolean>",
"guestsCanSeeOtherGuests": "<boolean>",
"location": "<string>",
"recurrence": [
"<string>",
"<string>"
],
"reminders": {
"useDefault": "<boolean>",
"overrides": [
{
"method": "popup",
"minutes": "<integer>"
},
{
"method": "popup",
"minutes": "<integer>"
}
]
},
"status": "cancelled",
"summary": "<string>",
"transparency": "transparent",
"visibility": "private",
"id": "<string>",
"created": "<string>",
"creator": {
"email": "<string>"
},
"organizer": {
"email": "<string>"
},
"kind": "<string>",
"updated": "<string>"
} |
ENDPOINTS