Get a task

Read one task with its schedules, notes, quote and invoices.

GET https://cotlet.dev/api/v1/aroflo/tasks/{task_id}

read

Returns the task header, every schedule with its resources and times, the notes on the Notes tab, the quote behind the task if there is one, and the invoices raised from it. Use it to check what AroFlo holds after a write. A task you cannot open with your user's permission group fails with APP_PERMISSION_DENIED.

Parameters

Parameters: get_task
NameTypeDescription
task_id string required string Task ID from list_tasks.

Request

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

Example response

JSON

{
  "task_id": "task_8814",
  "job_number": "J1187",
  "name": "Aircon not cooling",
  "client": "Harbour Café",
  "location": "12 Wharf Road",
  "task_type": "Service Call",
  "status": "Not Started",
  "substatus": null,
  "priority": "High",
  "due_date": "2026-10-30",
  "assigned_to": "Dana Pike",
  "description": "Café split system blowing warm air since Monday.",
  "quote": null,
  "schedules": [
    {
      "schedule_id": "sched_5532",
      "resources": [
        "Sam Rowe"
      ],
      "start": "2026-10-30T09:00",
      "finish": "2026-10-30T11:00"
    }
  ],
  "notes": [
    {
      "note_id": "note_771",
      "text": "Bring a contactor kit",
      "sticky": false,
      "created_by": "Dana Pike"
    }
  ],
  "invoices": []
}

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.