Search + K

Command Palette

Search for a command to run...

Sign In

calendar.calendars.get

GET /calendars/{calendarId}
Copy endpoint
https://www.googleapis.com/calendar/v3

Returns metadata for a calendar.

Parameters

path Path Parameters

Name Type
calendarId required

Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

string

query Query Parameters

Name Type
alt

Data format for the response.

"json"
fields

Selector specifying which fields to include in a partial response.

string
key

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

string
oauth_token

OAuth 2.0 token for the current user.

string
prettyPrint

Returns response with indentations and line breaks.

boolean
quotaUser

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

string
userIp

Deprecated. Please use quotaUser instead.

string

Responses

200 */*

Successful response

interface Calendar {
autoAcceptInvitations?: boolean;
conferenceProperties?: ConferenceProperties
interface ConferenceProperties {
allowedConferenceSolutionTypes?: string[];
}
;
dataOwner?: string;
description?: string;
etag?: string;
id?: string;
kind?: string;
location?: string;
summary?: string;
timeZone?: string;
}