Todos

Creer un todo

post/api/v1/todos

Request

  • Base URL: https://lucidnest.test
  • URL: https://lucidnest.test/api/v1/todos
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Request body

titlestring required

Titre du todo.

descriptionstring nullable

Description.

prioritystring nullable

Priorite (must, should, want).

scheduled_datestring nullable

Date planifiee.

due_datestring nullable

Date limite.

project_uuidstring nullable

UUID du projet.

note_uuidstring nullable

UUID de la note liee.

notebook_uuidstring nullable

UUID du cahier (optionnel, defaut Inbox).

notebook_tab_uuidstring nullable

UUID de l'onglet du cahier (optionnel, requiert notebook_uuid).

estimated_minutesinteger nullable

Estimation en minutes.

energy_levelstring nullable

Niveau d'energie requis (low, medium, high).

external_refstring nullable

Reference fonctionnelle de l'integration tierce (unicite durable par compte, ADR-007).

Example request

{
  "title": "Finir le rapport",
  "description": "Sections 3 et 4",
  "priority": "should",
  "scheduled_date": "2026-03-06",
  "due_date": "2026-03-10",
  "project_uuid": "550e8400-e29b-41d4-a716-446655440000",
  "note_uuid": "550e8400-e29b-41d4-a716-446655440001",
  "notebook_uuid": "550e8400-e29b-41d4-a716-446655440002",
  "notebook_tab_uuid": "550e8400-e29b-41d4-a716-446655440003",
  "estimated_minutes": 30,
  "energy_level": "medium",
  "external_ref": "partner-task-42"
}

Response

Example response

{
  "data": {
    "uuid": "...",
    "title": "Finir le rapport"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.