タスク API

Create tasks

Tasks are the first live public API resource. Use them when an external system needs to create planned work, support tickets, website maintenance items or follow-up actions for the API key owner.

POST /public-api/v1/tasks/ Creates one task for the API key owner.
curl -X POST https://u0life.com/public-api/v1/tasks/ \
  -H "Authorization: Bearer u0_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Call client",
    "description": "Created from external API",
    "date": "2026-06-16 10:00:00",
    "status": 0,
    "priority": 2,
    "client_id": 15,
    "project_id": 8,
    "category_id": 4,
    "time_planned": "01:30:00",
    "price_planned": 120
  }'

Fields

title required Task title, up to 191 characters.
description optional Long text shown in the task.
date optional Planned date/time in server format, for example 2026-06-16 10:00:00.
status optional Integer status from 0 to 3.
priority optional Integer priority from 0 to 3: 1 is critical and cannot move, 2 is this week, 3 is useful but not critical, 0 is no priority.
client_id optional Existing client owned by the API key user.
project_id optional Existing project owned by the API key user.
category_id optional Existing category owned by the API key user.
time_planned optional Planned time in HH:MM:SS format.
price_planned optional Planned monetary value as a number.