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

Parameters: approve_task
NameTypeDescription
task_id integer required integer Breezeway task ID.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/breezeway/tasks/4417295/approve \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("breezeway", "approve_task", {"task_id":4417295})
Node.js
const result = await cotlet.call('breezeway', 'approve_task', {"task_id":4417295});
CLI
cotlet call breezeway approve_task --data '{"task_id":4417295}'

Example response

JSON

{
  "task_id": 4417295,
  "name": "Turnover clean, Harbor View 4",
  "status": "Approved"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.