Last updated 2 days ago
Create a task in a project
Successful Tasks creation
const response = await fetch('https://www.taskade.com/api/v1/projects/{projectId}/tasks/', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "tasks": [ { "contentType": "text/markdown", "content": "text", "placement": "afterbegin" } ] }), }); const data = await response.json();
{ "ok": true, "item": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "text": "text", "parentId": "123e4567-e89b-12d3-a456-426614174000", "completed": false } ] }