# google-calendar.profile.get

Address and time zone of the connected Calendar account

> Returns metadata for a calendar.

Page: https://telipot.com/catalog/tasks/google-calendar.profile.get · Markdown: https://telipot.com/catalog/tasks/google-calendar.profile.get/md · JSON: https://telipot.com/catalog/tasks/google-calendar.profile.get/json

| Field | Value |
| --- | --- |
| provider | [Google Calendar](https://telipot.com/catalog/providers/google-calendar) `google-calendar` |
| capability | [`calendar.profile`](https://telipot.com/catalog/capabilities/calendar.profile) |
| kind | utility |
| tier | core |
| price | Free (Free from the tool) |
| identity | Person’s own |
| auth | `oauth · OAuth 2.0 with PKCE` |
| scope | own_account |
| principal | user |
| required_scopes | `calendar.readonly` |
| retention | standard |
| route | `GET https://www.googleapis.com/calendar/v3/calendars/primary` |
| verification | Not verified yet. Not checked yet. We test with a real request before we mark it. |
| status | live |
| docs | https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get |

## Preview the price · nothing runs

```bash
telipot run google-calendar.profile.get \
  --input-json '{}' \
  --as user:ana \
  --quote
```

## Run it

```bash
telipot run google-calendar.profile.get \
  --input-json '{}' \
  --as user:ana
```

```bash
curl https://api.telipot.com/v1/tasks/google-calendar.profile.get/run \
  -H "Authorization: Bearer $TELIPOT_TOKEN" \
  -H "Telipot-Principal: user:ana" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Input schema

```json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The address of the account and the id of its primary calendar"
    },
    "summary": {
      "type": "string",
      "description": "The title of the primary calendar; it is the address"
    },
    "description": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "timeZone": {
      "type": "string",
      "description": "An IANA time zone name"
    },
    "conferenceProperties": {
      "type": "object",
      "properties": {
        "allowedConferenceSolutionTypes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "etag": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    }
  }
}
```

## Example response

From `examples/google-calendar.profile.get.json`.

```json
{
  "kind": "calendar#calendar",
  "etag": "\"EXAMPLEETAG\"",
  "id": "contact@example.com",
  "summary": "contact@example.com",
  "timeZone": "America/Los_Angeles",
  "conferenceProperties": {
    "allowedConferenceSolutionTypes": [
      "hangoutsMeet"
    ]
  }
}
```
