---
title: "Get Daily Challenge"
method: GET
path: "/api/challenges/{user_id}/daily"
tags: ["Challenges"]
---

# Get Daily Challenge

`GET /api/challenges/{user_id}/daily`

## 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}/daily`
- Auth: HTTP bearer

Get today's daily micro-challenge.
Returns an existing one if already generated today, otherwise creates a new one.
5 XP per completion, 35 bonus XP for 7-day streak.

## Path parameters

- `user_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## 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)
