Google Calendar Colors API

The Colors API from Google Calendar — 1 operation(s) for colors.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /calendar/v3/colors Get calendar and event color definitions · Get colors #
Ask an LLM
“What color palette does Google Calendar use for calendars and events?”
“Can I get the default calendar color definitions?”
Tell an agent
Get the calendar colors.
Show the default calendar and event color definitions.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-calendar:google-calendar-colors-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-calendar-colors-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Calendar API Colors API
  version: v3
  description: Generated from Google's published Discovery document for Calendar API (calendar v3, revision 20261109). 1 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
externalDocs:
  url: https://developers.google.com/workspace/calendar/firstapp
servers:
- url: https://www.googleapis.com
paths:
  /calendar/v3/colors:
    get:
      operationId: calendar.colors.get
      summary: Get colors
      description: Returns the color definitions for calendars and events.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Colors'
        4XX:
          content: &id001
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content: *id001
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/calendar
        - https://www.googleapis.com/auth/calendar.app.created
        - https://www.googleapis.com/auth/calendar.calendarlist
        - https://www.googleapis.com/auth/calendar.calendarlist.readonly
        - https://www.googleapis.com/auth/calendar.events.freebusy
        - https://www.googleapis.com/auth/calendar.events.owned
        - https://www.googleapis.com/auth/calendar.events.owned.readonly
        - https://www.googleapis.com/auth/calendar.events.public.readonly
        - https://www.googleapis.com/auth/calendar.readonly
      - apiKey: []
      tags:
      - Colors
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/calendar.acls: See and change the sharing permissions of Google calendars you
              own
            https://www.googleapis.com/auth/calendar: See, edit, share, and permanently delete all the calendars you can access
              using Google Calendar
            https://www.googleapis.com/auth/calendar.app.created: Make secondary Google calendars, and see, create, change,
              and delete events on them
            https://www.googleapis.com/auth/calendar.calendarlist: See, add, and remove Google calendars you’re subscribed
              to
            https://www.googleapis.com/auth/calendar.settings: View and edit your Calendar settings
            https://www.googleapis.com/auth/calendar.freebusy: View your availability in your calendars
            https://www.googleapis.com/auth/calendar.events.owned: See, create, change, and delete events on Google calendars
              you own
            https://www.googleapis.com/auth/calendar.events.owned.readonly: See the events on Google calendars you own
            https://www.googleapis.com/auth/calendar.events: View and edit events on all your calendars
            https://www.googleapis.com/auth/calendar.calendars.readonly: See the title, description, default time zone, and
              other properties of Google calendars you have access to
            https://www.googleapis.com/auth/calendar.calendarlist.readonly: See the list of Google calendars you’re subscribed
              to
            https://www.googleapis.com/auth/calendar.acls.readonly: See the sharing permissions of Google calendars you own
            https://www.googleapis.com/auth/calendar.calendars: See and change the properties of Google calendars you have
              access to, and create secondary calendars
            https://www.googleapis.com/auth/calendar.events.public.readonly: See the events on public calendars
            https://www.googleapis.com/auth/calendar.events.freebusy: See the availability on Google calendars you have access
              to
            https://www.googleapis.com/auth/calendar.events.readonly: View events on all your calendars
            https://www.googleapis.com/auth/calendar.readonly: See and download any calendar you can access using your Google
              Calendar
            https://www.googleapis.com/auth/calendar.settings.readonly: View your Calendar settings
  schemas:
    ColorDefinition:
      properties:
        foreground:
          description: The foreground color that can be used to write on top of a background with 'background' color.
          type: string
        background:
          type: string
          description: The background color associated with this color definition.
      type: object
    Colors:
      type: object
      properties:
        kind:
          type: string
          default: calendar#colors
          description: Type of the resource ("calendar#colors").
        calendar:
          description: A global palette of calendar colors, mapping from the color ID to its definition. A calendarListEntry
            resource refers to one of these color IDs in its colorId field. Read-only.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/ColorDefinition'
            description: A calendar color definition.
        updated:
          description: Last modification time of the color palette (as a RFC3339 timestamp). Read-only.
          type: string
          format: date-time
        event:
          additionalProperties:
            $ref: '#/components/schemas/ColorDefinition'
            description: An event color definition.
          description: A global palette of event colors, mapping from the color ID to its definition. An event resource may
            refer to one of these color IDs in its colorId field. Read-only.
          type: object
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
x-provenance:
  method: harvested
  publisher: Google
  source: https://calendar-json.googleapis.com/$discovery/rest?version=v3
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261109)