Dida365/upsertHabitCheckIn

Dida365Dida365 Open API

POST/open/v1/habit/{habitId}/checkin

Create Or Update Habit Check-In

Create Or Update Habit Check-In

Use OAuth 2.0 to manage Dida365 projects, tasks, comments, tags, focus records, countdowns, habits, and check-ins.

Request

operationId
upsertHabitCheckIn
Server
https://api.dida365.com
Authentication
OAuth2

Request parameters

habitId

pathstringrequired

Habit identifier

habit-1

Request body

HabitCheckInUpsertrequired

Content-Type: application/json

{
  "stamp": 20260407,
  "value": 1,
  "goal": 1
}

Responses

200

OpenHabitCheckinapplication/json

Updated check-in document

Properties: idhabitIdcreatedTimemodifiedTimeetagyearcheckins

201

unknown

Created without response content

401

unknown

Unauthorized

403

unknown

Forbidden

404

unknown

Not Found

{
  "habitId": "habit-1",
  "createdTime": "2026-04-07T08:00:00+0000",
  "modifiedTime": "2026-04-07T08:00:00+0000",
  "year": 2026,
  "checkins": [
    {
      "stamp": 20260407,
      "time": "2026-04-07T08:00:00+0000",
      "opTime": "2026-04-07T08:00:00+0000",
      "value": 1,
      "goal": 1,
      "status": 0
    }
  ]
}