Skip to main content
POST
/
tasks
curl -X POST http://localhost:3000/api/v1/tasks \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Implement login",
    "projectId": "clxyz456",
    "status": "TODO",
    "priority": "HIGH"
  }'
{
  "id": "clxyz789",
  "title": "Implement login",
  "status": "TODO",
  "priority": "HIGH",
  "projectId": "clxyz456",
  "createdAt": "2026-03-18T01:00:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.nexusmission.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Body

title
string
required
Task title.
description
string
Task description.
projectId
string
required
ID of the project this task belongs to.
status
string
Task status (e.g., TODO, IN_PROGRESS, DONE).
priority
string
Task priority (e.g., LOW, MEDIUM, HIGH).
dueDate
string
ISO 8601 due date (e.g., 2026-04-01T00:00:00.000Z).
assigneeId
string
User ID of the assignee.
curl -X POST http://localhost:3000/api/v1/tasks \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Implement login",
    "projectId": "clxyz456",
    "status": "TODO",
    "priority": "HIGH"
  }'
{
  "id": "clxyz789",
  "title": "Implement login",
  "status": "TODO",
  "priority": "HIGH",
  "projectId": "clxyz456",
  "createdAt": "2026-03-18T01:00:00.000Z"
}