Skip to content

Challenge

A business-configured challenge that encourages participation over a time window — e.g. "12 classes in 21 days".

Fields

idID!

Canonical pages for this challenge — the public go URL and the staff-admin URL. Consume instead of building paths from the id.

nameString!

Resolved for the given locale, falling back to English. Defaults to the viewer's locale.

Arguments (1)
localeLocale
startAtDateTime!
endAtDateTime!
sessionCountInt!
leaderboardEnabledBoolean!

Whether this challenge's public page shows a leaderboard. Default false.

leaderboardNameDisplayChallengeLeaderboardNameDisplay!

How participants are named on the leaderboard.

accentColorString

The challenge's own accent colour, as an oklch(L C H) string (the notation the brand theme stores). Null means the challenge wears the business's brand accent. Surfaces derive what they paint — the ink on the accent, a legible text tone — from this one value.

Used in