---
title: "Daily Login"
method: POST
path: "/api/xp/{user_id}/daily-login"
tags: ["XP"]
---

# Daily Login

`POST /api/xp/{user_id}/daily-login`

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

Check and award daily login XP. Idempotent — only awards once per day.

## Path parameters

- `user_id` string, uuid, required

## Response `200`

Successful Response

- DailyLoginResponse
  - `already_awarded` boolean, required
  - `xp_awarded` integer, required
  - `total_xp` integer, required
  - `level` integer, required
  - `level_name` string, required
  - `leveled_up` boolean, required

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