IntegrationsGoogle workspaceActions
Create Google Calendar event
Create a calendar event using a caller-supplied event ID as the provider idempotency key.
calendar.events.create · Google Workspace · v1
Details
Scopes
https://www.googleapis.com/auth/calendar.events
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
calendar_id | string | No | minLength 1; maxLength 256 |
event_id | string | Yes | minLength 5; maxLength 1024; pattern ^[a-v0-9]+$ |
summary | string | No | maxLength 1024 |
description | string | No | maxLength 8192 |
location | string | No | maxLength 1024 |
start | object | Yes | additionalProperties false; oneOf branch 1: required date_time / branch 2: required date |
start.date_time | string | No | minLength 10; maxLength 64 |
start.date | string | No | minLength 10; maxLength 10; pattern ^\d{4}-\d{2}-\d{2}$ |
start.time_zone | string | No | minLength 1; maxLength 64 |
end | object | Yes | additionalProperties false; oneOf branch 1: required date_time / branch 2: required date |
end.date_time | string | No | minLength 10; maxLength 64 |
end.date | string | No | minLength 10; maxLength 10; pattern ^\d{4}-\d{2}-\d{2}$ |
end.time_zone | string | No | minLength 1; maxLength 64 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
id | string | Yes | maxLength 1024 |
status | string | Yes | maxLength 64 |
summary | string | No | maxLength 1024 |
description | string | No | maxLength 8192 |
location | string | No | maxLength 1024 |
start | object | No | additionalProperties false; oneOf branch 1: required date_time / branch 2: required date |
start.date_time | string | No | minLength 10; maxLength 64 |
start.date | string | No | minLength 10; maxLength 10; pattern ^\d{4}-\d{2}-\d{2}$ |
start.time_zone | string | No | minLength 1; maxLength 64 |
end | object | No | additionalProperties false; oneOf branch 1: required date_time / branch 2: required date |
end.date_time | string | No | minLength 10; maxLength 64 |
end.date | string | No | minLength 10; maxLength 10; pattern ^\d{4}-\d{2}-\d{2}$ |
end.time_zone | string | No | minLength 1; maxLength 64 |
html_link | string | No | maxLength 2048 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"calendar_id": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"event_id": {
"type": "string",
"minLength": 5,
"maxLength": 1024,
"pattern": "^[a-v0-9]+$"
},
"summary": {
"type": "string",
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 8192
},
"location": {
"type": "string",
"maxLength": 1024
},
"start": {
"type": "object",
"additionalProperties": false,
"properties": {
"date_time": {
"type": "string",
"minLength": 10,
"maxLength": 64
},
"date": {
"type": "string",
"minLength": 10,
"maxLength": 10,
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"time_zone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"oneOf": [
{
"required": [
"date_time"
]
},
{
"required": [
"date"
]
}
]
},
"end": {
"type": "object",
"additionalProperties": false,
"properties": {
"date_time": {
"type": "string",
"minLength": 10,
"maxLength": 64
},
"date": {
"type": "string",
"minLength": 10,
"maxLength": 10,
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"time_zone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"oneOf": [
{
"required": [
"date_time"
]
},
{
"required": [
"date"
]
}
]
}
},
"required": [
"event_id",
"start",
"end"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"maxLength": 1024
},
"status": {
"type": "string",
"maxLength": 64
},
"summary": {
"type": "string",
"maxLength": 1024
},
"description": {
"type": "string",
"maxLength": 8192
},
"location": {
"type": "string",
"maxLength": 1024
},
"start": {
"type": "object",
"additionalProperties": false,
"properties": {
"date_time": {
"type": "string",
"minLength": 10,
"maxLength": 64
},
"date": {
"type": "string",
"minLength": 10,
"maxLength": 10,
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"time_zone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"oneOf": [
{
"required": [
"date_time"
]
},
{
"required": [
"date"
]
}
]
},
"end": {
"type": "object",
"additionalProperties": false,
"properties": {
"date_time": {
"type": "string",
"minLength": 10,
"maxLength": 64
},
"date": {
"type": "string",
"minLength": 10,
"maxLength": 10,
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"time_zone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"oneOf": [
{
"required": [
"date_time"
]
},
{
"required": [
"date"
]
}
]
},
"html_link": {
"type": "string",
"maxLength": 2048
}
},
"required": [
"id",
"status"
]
}