Dida365/createFocus

Loading the complete reference automatically…

Dida365Dida365 Open API

POST/open/v1/focus

Create Focus

Create Focus

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

Request

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

Request parameters

No URL, query, or header parameters.

Request body

FocusCreaterequired

Content-Type: application/json

Properties: typetaskIdnotestartTimeendTimepauseDurationdurationrelationType

Responses

200

OpenFocusapplication/json

Created focus record

Properties: iduserIdtypetaskIdnotetasksstatusstartTimeendTimepauseDurationadjustTimeaddedcreatedTimemodifiedTimeetimestampetagdurationrelationType

201

unknownapplication/json

Created without response content

401

unknownapplication/json

Unauthorized

403

unknownapplication/json

Forbidden

404

unknownapplication/json

Not Found

{
  "id": "focus-1",
  "userId": 0,
  "type": 0,
  "taskId": "task-1",
  "note": "Deep work",
  "tasks": {
    "startTime": "2026-04-07T09:00:00+0800",
    "endTime": "2026-04-07T09:25:00+0800"
  },
  "status": 2,
  "startTime": "2026-04-07T09:00:00+0800"
}