Skip to main content
Use query getChallenges to implement different challenge listings:
  1. completed by the current API user;
  2. ongoing (the current date is between start and end dates, AND the challenge is not completed by the current API user yet);
  3. upcoming (the start date is in the future);
  4. all available challenges (except those ones that are finished and not completed by the current API user).
In a response it returns a list of Challenge objects that fit the applied filters. Results will be returned with the pagination and possibility to change the order and sorting key (default sorting is by the start date, ascending). The following arguments can be used in the query: Here is an example of the query execution:
The getChallenges query supports the same advanced features as other catalog queries:

Pagination

Learn how to efficiently navigate through large sets of items using cursor-based pagination.

Authentication

Understand the authentication requirements and how to properly authenticate your requests.