Skip to main content
POST
/
tasks
Create task
curl --request POST \
  --url https://flozy-backend-1042419926531.us-central1.run.app/api/v1/external/tasks \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "title": "Send proposal",
  "status": 1,
  "priority": 3,
  "lead_id": 42
}
'
{
  "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.