---
title: "Seed Payday Data"
method: POST
path: "/api/payday/seed/{user_id}"
tags: ["Payday"]
---

# Seed Payday Data

`POST /api/payday/seed/{user_id}`

## 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/payday/seed/{user_id}`
- Auth: HTTP bearer

Seed demo payday data. Returns pre-built rules and detected payday.
Idempotent — safe to call multiple times.
The mobile app stores these rules in AsyncStorage.

## Path parameters

- `user_id` string, uuid, required

## Response `200`

Successful Response

- AppApiPaydaySeedResponse
  - `user_id` string, required
  - `rules_created` integer, required
  - `detected_payday` integer, 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)
