Task title.
POST
/api/mission-control/tasks BearerCreate Mission Control Task
Create a new task in PocketPaw's Mission Control with title, description, priority, tags, and optional agent assignment. Tasks can be linked to Deep Work projects for orchestrated execution.
Overview
Creates a new task. Optionally link it to a Deep Work project and assign it to agents.
Request Body
title string description stringFull task description with acceptance criteria.
priority stringPriority: low, medium, high, or urgent.
tags arrayList of categorization tags.
assignee_ids arrayAgent IDs to assign the task to.
project_id stringDeep Work project to associate with.
curl -X POST http://localhost:8000/api/mission-control/tasks \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "title": "Implement user authentication", "description": "Add JWT-based auth with login/register endpoints", "priority": "high", "tags": ["backend", "security"], "assignee_ids": ["agent-uuid-1"] }'{ "task": { "id": "task-uuid-2", "title": "Implement user authentication", "status": "assigned", "priority": "high", "assignee_ids": ["agent-uuid-1"], "tags": ["backend", "security"], "created_at": "2024-01-15T14:32:00Z" }}Was this page helpful?
Request
curl -X POST "http://localhost:8000/api/mission-control/tasks" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>"const response = await fetch("http://localhost:8000/api/mission-control/tasks", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <token>"
},
});
const data = await response.json();
console.log(data);import requests
response = requests.post(
"http://localhost:8000/api/mission-control/tasks",
headers={'Content-Type':'application/json','Authorization':'Bearer <token>'},
)
print(response.json())package main
import (
"fmt"
"net/http"
"io"
)
func main() {
req, _ := http.NewRequest("POST", "http://localhost:8000/api/mission-control/tasks", nil)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer <token>")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}Response
Send a request to see the response
Authorization
Headers
Body
Response