Skip to main content
POST
/
api
/
tasks
/
drafts
/
{id}
/
confirm
curl -X POST "https://api.hitler.app/api/tasks/drafts/draft-uuid-123/confirm" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "id": "task-uuid-456",
  "title": "Review Q4 budget proposal",
  "description": null,
  "priority": 2,
  "status": "open",
  "dueDate": "2024-01-20T17:00:00.000Z",
  "userId": "user-uuid",
  "organizationId": "org-uuid",
  "createdAt": "2024-01-15T10:35:00.000Z"
}
This endpoint requires authentication. Only the draft owner can confirm.

Path Parameters

id
string
required
Draft UUID

Response

Returns the created task.
id
string
Task UUID (different from draft ID)
title
string
Task title
status
string
Task status: open
priority
integer
Priority level
dueDate
string
Due date if set
createdAt
string
Creation timestamp
curl -X POST "https://api.hitler.app/api/tasks/drafts/draft-uuid-123/confirm" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "id": "task-uuid-456",
  "title": "Review Q4 budget proposal",
  "description": null,
  "priority": 2,
  "status": "open",
  "dueDate": "2024-01-20T17:00:00.000Z",
  "userId": "user-uuid",
  "organizationId": "org-uuid",
  "createdAt": "2024-01-15T10:35:00.000Z"
}