Skip to main content
POST
/
tasks
Error
A valid request URL is required to generate request examples
{
  "http_code": 201,
  "status": "success",
  "message": "Task created",
  "data": {
    "id": 7
  }
}

Authorizations

X-API-Key
string
header
required

Your Flozy API key. Starts with flz_live_.

Body

application/json
title
string
required
Maximum string length: 500
Example:

"Send proposal"

description
string | null
status
enum<integer>
default:1

1 todo · 2 in progress · 3 completed · 4 in review

Available options:
1,
2,
3,
4
priority
enum<integer>
default:2

1 low · 2 medium · 3 high

Available options:
1,
2,
3
due_date
string | null
Example:

"2026-05-01"

start_date
string | null
lead_id
integer | null
Example:

42

parent_task_id
integer | null

Response

Task created.