Calendar API
  1. calendarList
Calendar API
  • calendars
    • /calendars
      POST
    • /calendars/{calendarId}
      DELETE
    • /calendars/{calendarId}
      GET
    • /calendars/{calendarId}
      PATCH
    • /calendars/{calendarId}
      PUT
    • /calendars/{calendarId}/clear
      POST
  • acl
    • /calendars/{calendarId}/acl
      GET
    • /calendars/{calendarId}/acl
      POST
    • /calendars/{calendarId}/acl/watch
      POST
    • /calendars/{calendarId}/acl/{ruleId}
      DELETE
    • /calendars/{calendarId}/acl/{ruleId}
      GET
    • /calendars/{calendarId}/acl/{ruleId}
      PATCH
    • /calendars/{calendarId}/acl/{ruleId}
      PUT
  • events
    • /calendars/{calendarId}/events
      GET
    • /calendars/{calendarId}/events
      POST
    • /calendars/{calendarId}/events/import
      POST
    • /calendars/{calendarId}/events/quickAdd
      POST
    • /calendars/{calendarId}/events/watch
      POST
    • /calendars/{calendarId}/events/{eventId}
      DELETE
    • /calendars/{calendarId}/events/{eventId}
      GET
    • /calendars/{calendarId}/events/{eventId}
      PATCH
    • /calendars/{calendarId}/events/{eventId}
      PUT
    • /calendars/{calendarId}/events/{eventId}/instances
      GET
    • /calendars/{calendarId}/events/{eventId}/move
      POST
  • channels
    • /channels/stop
  • colors
    • /colors
  • freebusy
    • /freeBusy
  • calendarList
    • /users/me/calendarList
      GET
    • /users/me/calendarList
      POST
    • /users/me/calendarList/watch
      POST
    • /users/me/calendarList/{calendarId}
      DELETE
    • /users/me/calendarList/{calendarId}
      GET
    • /users/me/calendarList/{calendarId}
      PATCH
    • /users/me/calendarList/{calendarId}
      PUT
  • settings
    • /users/me/settings
    • /users/me/settings/watch
    • /users/me/settings/{setting}
  1. calendarList

/users/me/calendarList

POST
/users/me/calendarList
Inserts an existing calendar into the user's calendar list.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://www.googleapis.com/calendar/v3/users/me/calendarList' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accessRole": "string",
    "backgroundColor": "string",
    "colorId": "string",
    "conferenceProperties": {
        "allowedConferenceSolutionTypes": [
            "string"
        ]
    },
    "defaultReminders": [
        {
            "method": "string",
            "minutes": 0
        }
    ],
    "deleted": false,
    "description": "string",
    "etag": "string",
    "foregroundColor": "string",
    "hidden": false,
    "id": "string",
    "kind": "calendar#calendarListEntry",
    "location": "string",
    "notificationSettings": {
        "notifications": [
            {
                "method": "string",
                "type": "string"
            }
        ]
    },
    "primary": false,
    "selected": false,
    "summary": "string",
    "summaryOverride": "string",
    "timeZone": "string"
}'
Response Response Example
{
    "accessRole": "string",
    "backgroundColor": "string",
    "colorId": "string",
    "conferenceProperties": {
        "allowedConferenceSolutionTypes": [
            "string"
        ]
    },
    "defaultReminders": [
        {
            "method": "string",
            "minutes": 0
        }
    ],
    "deleted": false,
    "description": "string",
    "etag": "string",
    "foregroundColor": "string",
    "hidden": false,
    "id": "string",
    "kind": "calendar#calendarListEntry",
    "location": "string",
    "notificationSettings": {
        "notifications": [
            {
                "method": "string",
                "type": "string"
            }
        ]
    },
    "primary": false,
    "selected": false,
    "summary": "string",
    "summaryOverride": "string",
    "timeZone": "string"
}

Request

Query Params

Body Params application/json

Examples

Responses

🟢200Successful response
application/json
Body

Modified at 2023-08-15 05:59:47
Previous
/users/me/calendarList
Next
/users/me/calendarList/watch
Built with