v1
latestOpenAPI 3.0.22026-07-14304425350.6 KBAdmin Challenges
Create challenge
Creates a challenge.
Parameters:
- name: Challenge name.
- type: Only "HABITS" type is possible for now.
- description: Challenge description
- startDate: Challenge start date
- endDate: Challenge end date
- ownerId: The id of the user to set as an owner of this challenge
- entitlements: RevenueCat entitlements needed to join this challenge. Null means no needed entitlements.
- chatGroupLink: Challenge chat group link (WhatsApp or telegram link)
- maxPoints: Defines the max number of points a user can get in one day, which means the max number of
habits he can link to this challenge.
- personalHabitChallenge: Used for personal coaching. Set to false for now.
- finalGoal: Used for other types of challenges (steps ..). Set to null for now.
- globalChallenge: Whether the challenge is visible for everyone or not. Set to True for now.
- teamsNames: List of names of the teams to create
post/api/v5/admin/challenges/
Request body
Response
Successful Response