enrollment: "opt_in" you enter users one by one, for example when they press Join on your site. With all_users every platform user takes part automatically, see Who takes part.
Join
POST /v1/competitions/join
Enters one of your platform users. Answers 201 when the user joined, 200 with "already": true when they were already in. After the start, joining needs late_join: true.
string
required
The competition id.
string
required
Your id of the user. Alternatively pass csid_id.
Response
Leave
POST /v1/competitions/leave
Takes a user out of a competition that has not ended, also while it runs. Their entry is removed from the standings. With enrollment: "all_users" the user stays out until you join them again. Returns competition_id, external_id and left (false when the user was not in).
string
required
The competition id.
string
required
Your id of the user. Alternatively pass csid_id.
List participants
GET /v1/competitions/participants
The participants in the order they joined.
string
required
The competition id.
integer
default:"100"
Participants per page, 1 to 1,000.
integer
default:"0"
How many to skip. Compare
offset + limit with pagination.total to know whether more follow.Response
Errors
See Errors for the full list.

