Approve task
Moves a closed task to Approved.
POST https://cotlet.dev/api/v1/breezeway/tasks/{task_id}/approve
write Confirm
Returns the task with its new status. Only a closed task can be approved, and the account needs "Approve tasks after completion" turned on. Needs an administrator or supervisor. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| task_id integer required | integer | Breezeway task ID. |
Request
curl -X POST https://cotlet.dev/api/v1/breezeway/tasks/4417295/approve \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("breezeway", "approve_task", {"task_id":4417295}) const result = await cotlet.call('breezeway', 'approve_task', {"task_id":4417295}); cotlet call breezeway approve_task --data '{"task_id":4417295}' Example response
{
"task_id": 4417295,
"name": "Turnover clean, Harbor View 4",
"status": "Approved"
}