/api/v3/challenges

Create or update a challenge

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer

the ID of the challenge being updated; do not send if creating a new challenge

string

the filter for challenges 3 different options expired, active, active-pending. 'all' is the default

Body Params
string
required

The name of the challenge

string
required

The scope for the challenge; e.g. T12345 is a challenge for team 12345

string
required

The type for the challenge; can be 'E' for Everybody Wins, 'R' for Race, or 'P' for Per-Unit

integer
required

The category id for the challenge.

boolean
Defaults to false

Whether the challenge is marked as a priority. Preserved on update when omitted.

string
required

Whether or not the challenge is recurring; 'Y' for Yes, 'N' for No.

integer

Threshold value for the challenge; required if challenge type is Everybody Wins

string

Threshold type; can be 'C' for Counts or 'V' for Volume; required if challenge type is Everybody Wins

integer

The points awarded for completing the challenge. Required if the challenge type is E or P

integer

The points awarded for finishing first. Required if the challenge type is R

integer

The points awarded for finishing second. Required if the challenge type is R

integer

The points awarded for finishing third. Required if the challenge type is R

string
required

The time period type for the challenge. Can be 'D' for Day if daily challenges are enabled, 'W' for Week, 'M' for Month, 'Q' for Quarter, 'Y' for Year, or 'C' for Custom

string

The day for the challenge. Required if the time period type is D.

string

The week for the challenge. Required if the time period type is W. Send the date of the Sunday that starts the week

string

The month for the challenge. Required if the time period type is M.

string

The quarter for the challenge. Required if the time period type is Q.

string

The year for the challenge. Required if the time period type is Y.

string

The start date for the challenge. Required if the time period type is C.

string

The end date for the challenge. Required if the time period type is C.

group_ids
array of integers

The ids of the groups involved in the challenge; required if the scope is GVG.

group_ids
team_ids
array of integers

The ids of the teams involved in the challenge; required if the scope is TVT.

team_ids
Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json