Challenges page
Last updated
Last updated
You can create a page within your mobile app to display the list of challenges available to customers.
To retrieve the list of challenges for a specific customer, you can use the Challenge Connection endpoint. This endpoint provides the following filtering options in addition to others:
User Filter: Use this filter to obtain all challenges associated with a specific user. This allows you to display only the challenges relevant to the logged-in customer.
Business Filter: This filter retrieves all challenges available for the business.
Please note the following:
No Challenge ID Required: When using the Challenge Connection endpoint, you do not need to provide a challenge ID for a specific challenge.
Joining Challenges: This endpoint can also be utilized to allow users to join a challenge. You can implement a join button next to each challenge displayed, enabling customers to participate easily.
You may want to change the status after the customer joins the challenge.