Challenges

Refresh Challenge Progress

Recalculate challenge progress from real transaction data. Auto-completes or fails expired challenges. Awards XP on completion.

Call this:

  • Every time the app opens
  • After every transaction sync
  • On a daily schedule
post/api/challenges/{user_id}/update-progress

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/challenges/{user_id}/update-progress
  • Auth: HTTP bearer

Path parameters

user_idstring uuid required

Response

Successful Response

user_idstring required
total_activeinteger required
total_completedinteger required
current_streakinteger required

Changes

No recorded changes to this operation across all 2 revisions of this API.