Challenges page
You can create a page within your mobile app to display the list of challenges available to customers.
Accessing Challenges
To retrieve the list of challenges, you can use the Challenges View endpoint. This endpoint curates the challenges that the current customer is meant to see, replicating the below view. To achieve this, this endpoint provides the following filtering options in addition to others:
User Filters: Use these filters to obtain all challenges from the perspective a specific customer. This allows you to display only the challenges relevant to the logged-in customer, as some challenges may be suppressed from their view. If not provided, the endpoint will return challenges from the perspective of a logged out customer.
Joined Challenge Filter: This filter retrieves all challenges that the customer has joined to replicate the My Challenges tab.
Please note the following:
Joining Challenges: The Challenge Connection endpoint can be utilized to allow customers to join a challenge. If the customer is eligible to join (indicated by values retrieved from the Challenges View endpoint), you can implement a join button next to each joinable challenge, enabling customers to participate easily.

You may want to change the status after the customer joins the challenge.

Last updated
Was this helpful?