Retrieve a single task for the location.
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/task/{taskId}
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/location/{locationId}/task/{taskId}
curl -i -X GET \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/location/{locationId}/task/42' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-key: YOUR_API_KEY_HERE'Task found
Staff ID who created the task; null for system-generated tasks
Example:987
Whether the task is past due (open + dueDate before today in the location's timezone)
Example:false
Response
{ "action": "VIEW_LABS", "assigneeStaffIds": [ 987, 654 ], "comment": "Follow up on elevated values", "createdAt": "2025-01-15T14:00:00Z", "createdByStaffId": 987, "dueDate": "2025-01-15", "id": 42, "locationId": 1312, "overdue": false, "relatedTo": [ { … } ], "status": "OPEN", "system": false, "title": "Review lab results", "type": "LABS", "updatedAt": "2025-01-15T14:00:00Z" }