Skip to main content
PUT
Update task

Authorizations

X-API-Key
string
header
required

Your Flozy API key. Starts with flz_live_.

Path Parameters

id
integer
required

Body

application/json
title
string
status
enum<integer>
Available options:
1,
2,
3,
4
priority
enum<integer>
Available options:
1,
2,
3
due_date
string | null

Calendar date as YYYY-MM-DD. A full ISO 8601 date-time (2026-01-31T10:00:00Z) is also accepted and truncated to its date part — the timezone offset is ignored, so 2026-01-31T23:00:00-05:00 stores 2026-01-31. The column is a SQL DATE, so no time is ever kept. Any other value, including an impossible date such as 2026-02-30, is rejected with a validation error naming the field and the accepted formats. Send null to clear it.

start_date
string | null

Calendar date as YYYY-MM-DD. A full ISO 8601 date-time (2026-01-31T10:00:00Z) is also accepted and truncated to its date part — the timezone offset is ignored, so 2026-01-31T23:00:00-05:00 stores 2026-01-31. The column is a SQL DATE, so no time is ever kept. Any other value, including an impossible date such as 2026-02-30, is rejected with a validation error naming the field and the accepted formats. Send null to clear it.

lead_id
integer | null
parent_task_id
integer | null

Response

Task updated.