Color Label Strings API

In my Google Workspace account, I use color label strings in Calendar to track time. I want to use these to automate timesheet reporting using the Calendar API. How do I access the label strings associated with each color ID?

Hey,

Hope you’re keeping well.

The Calendar API exposes the mapping of color IDs to color names via the Colors: get method. This returns a calendar and event color palette where each ID corresponds to a hex color and a descriptive label. You can call it with GET https://www.googleapis.com/calendar/v3/colors using your authorized client, then match the colorId from each event to the returned label string in event colors. This way you can translate stored IDs in your timesheet automation to readable labels.

Thanks and regards,
Taz

Colors: get does not return labels in my testing, just the numeric identifiers from 1 onward. Users can set a custom label and color to an event in their Calendar but they don’t appear to be accessible at all via API.