---
title: "Patch Challenge Progress"
method: PATCH
path: "/api/challenges/{challenge_id}/progress"
tags: ["Challenges"]
---

# Patch Challenge Progress

`PATCH /api/challenges/{challenge_id}/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/{challenge_id}/progress`
- Auth: HTTP bearer

Update the current progress of a challenge.
Automatically marks as completed if target is met for count-based challenges,
or if the week ends under budget for spending challenges.

## Path parameters

- `challenge_id` string, uuid, required

## Request body

- ProgressUpdate
  - `current_amount` number, required

## Response `200`

Successful Response

- ChallengeResponse
  - `id` string, required
  - `challenge_type` string, required
  - `title` string, required
  - `description` string, required
  - `briefing_reason` string, nullable
  - `emoji` string, required
  - `target_amount` number, required
  - `current_amount` number, required
  - `progress_pct` number, required
  - `difficulty` string, required
  - `status` string, required
  - `streak_count` integer, required
  - `started_at` string, required
  - `expires_at` string, required
  - `completed_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
