List challenge templates Coming soon
GET/v1/challenge_templates
Returns the template pack: Weekly regular, 4-week streak, Seasonal discovery, Afternoon pick-me-up, Breakfast pairing, Order ahead, Win-back and Bean bag. A template has the challenge fields without dates or a catalog reward. window_days is the window length to use, and suggested_reward says what usually works; pick the reward from your catalog when you create the challenge.
Permissions: Secret key with challenges:write.
Guide
ChallengesQuery parameters#
limitintegerMin 1Max 100Default 25cursorstringnext_cursorfrom the previous page.
Response fields#
Returns 200 with list of ChallengeTemplate
dataarray of ChallengeTemplateShow attributesChallengeTemplate
idstringnamestringdescriptionstringtypestringgoalobjectqualifyingobjectwindow_kindstringOne offixed,rollingwindow_daysintegerenrollmentstringOne ofautomatic,opt_insuggested_rewardstring
has_morebooleanTrue when another page exists.next_cursorstringNullablePass ascursorto get the next page.