Thrive AI Health
Api reference

Create a daily check-in entry

One check-in per `calendar_date`. Duplicate POSTs for the same date return `409 Conflict`. When `calendar_date` is omitted, it defaults to today in the member's local timezone (from their profile location), not server UTC; pass explicitly to backfill.

POST
/v1/users/{user_id}/daily-check-ins

Authorization

MemberBearer
AuthorizationBearer <token>

Member-scoped JWT minted by POST /v1/auth/token. Required on every /v1/users/{user_id}/... route; the token's sub claim must match the path user_id.

In: header

Path Parameters

user_id*User Id
Formatuuid

Header Parameters

org-id?string|null
x-user-id?string|null
x-request-id?string|null
traceparent?string|null
Idempotency-Key?|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/daily-check-ins" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "check_in_id": "05884dbc-6e65-477e-a8d8-ec5b760fac82",
    "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
    "calendar_date": "2019-08-24",
    "status": "pending",
    "mood_rating": 1,
    "energy_level": 1,
    "sleep_quality": 1,
    "notes": "string",
    "thread_id": "1de43264-67cb-48af-89f9-e865c375bb84",
    "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
    "streak_count": 0
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}