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
| Name | Type | Description |
|---|---|---|
| task_id string required | string | Task ID from list_tasks. |
Request
curl https://cotlet.dev/api/v1/aroflo/tasks/task_8c41d2 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("aroflo", "get_task", {"task_id":"task_8c41d2"}) const result = await cotlet.call('aroflo', 'get_task', {"task_id":"task_8c41d2"}); cotlet call aroflo get_task --data '{"task_id":"task_8c41d2"}' Example response
{
"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": []
}