Create Task
Task Projects API — Create Task
Overview
Creates a new task in Task Projects.
Environment:
https://sea-staging-h1.ekoapp.comBase path:
/api/v1/task-projectsEndpoint:
POST /api/v1/task-projects/tasksAuth: Bearer JWT (see “Authentication”)
Content type:
application/jsonIdempotency: Not specified (assumed non-idempotent)
Authentication
Provide a Bearer token in the Authorization header.
Authorization: Bearer <JWT>Request
Headers
Content-Type
Yes
application/json
Authorization
Yes
Bearer <JWT>
Body (JSON)
taskTitle
string
Yes
Human-readable title of the task.
taskDescription
string
No
Details/notes for the task.
priority
integer
No
Priority level. Common patterns are 1=High, 2=Medium, 3=Low (exact mapping may vary).
dueDate
string (ISO 8601)
No
Due date/time in UTC, e.g. 2025-12-31T23:59:59Z.
assigneeId
string
No
User ID to assign the task to.
checklist
array of objects
No
Sub-tasks/checklist items.
checklist[].description
string
Yes*
Text for the checklist item.
checklist[].isDone
boolean
Yes*
Completion status for the checklist item.
parentId
string
No
ID of the parent container (topic or parent task). Creates a subtask if set.
* Required only if checklist is provided.
Example request body
Responses
The exact response schema isn’t shown in your snippet. Below is a typical pattern for create endpoints—treat this as illustrative unless you have the server contract.
201 Created
Error responses (typical)
400 Bad Request
Invalid payload
Missing required field, wrong types, etc.
401 Unauthorized
Missing/invalid token
Check Authorization header.
403 Forbidden
Insufficient scope/role
Token lacks task-projects:write scope or equivalent.
404 Not Found
Related resource missing
e.g., assigneeId not found.
409 Conflict
Business rule conflict
Duplicate, invalid state, etc.
422 Unprocessable Entity
Validation failed
Field-level validation errors.
429 Too Many Requests
Rate limit
Retry after Retry-After.
500/502/503
Server errors
Transient; retry with backoff.
Example validation error (422)
cURL example
Validation & Constraints (recommended)
Title
none
Yes
(max 200 characters)
Description
none
No
(max 5,000 characters)
Tags
none
No
(max 20 tags)
Tasks
none
No
Images
none
No
Max 12 Images and Attachments
FE filter
Images 6
Attachement 6
Last updated