Skip to main content

Get task details

GET 

/tasks/:taskId

Returns the full record for a single task including its form submission data. The submission object contains all field values captured by the operator (temperatures, checklist responses, signatures, photos, etc.) as well as review status and reviewer details. Use this to retrieve the complete audit trail for a specific task.

Request

Response

Task details with submission data

Response
{
"taskId": "4821",
"title": "Pre-Production Sanitation Check",
"formId": "301",
"formName": "Sanitation Verification Form",
"source": "production",
"taskType": "submission",
"status": "completed",
"priority": "medium",
"assigneeId": "usr-00412",
"assigneeName": "Maria Garcia",
"workOrderId": "6073",
"scheduledDate": "2025-04-10",
"dueDate": "2025-04-10T12:00:00Z",
"createdAt": "2025-04-09T14:00:00Z",
"submission": {
"submissionId": "9102",
"status": "approved",
"submittedAt": "2025-04-10T09:45:00Z",
"submittedById": "usr-00412",
"submittedByName": "Maria Garcia",
"reviewedAt": "2025-04-10T11:20:00Z",
"reviewedById": "usr-00108",
"reviewedByName": "James Chen",
"reviewComments": null,
"fieldData": [
{
"fieldId": "501",
"fieldLabel": "Surface Temperature",
"fieldType": "temperature",
"value": {}
}
]
}
}