Discussions

Ask a Question
Back to All

Checklist Tasks Not Accurate Through API

The data returned from the Checklist API doesn't accurately match what we see in the web app.

List Project Checklists
get
https://api.companycam.com/v2/projects/{project_id}/checklists

For a completed checklist with tasks that require photos we expect to see a value for "completed_at" and linked photos to be returned.

Here is an example of what we are seeing below. Checklist Section Tasks are not showing any updates, photos are missing, and "completed_at" is null when the Checklist itself has been completed. Any additional sections or tasks are also not in the returned data through the API.

[
{
"id": "222",
"project_id": "111",
"name": "Example Checklist",
"completed_at": 1734966241,
"created_at": 1734704032,
"checklist_template_id": 333,
"sections": [
{
"id": "444",
"title": "Questions",
"position": 0,
"tasks": [
{
"id": "555",
"completed_at": null,
"completed_by_id": "",
"completed_by_type": null,
"photo_capture_required": true,
"title": "Photos",
"updated_at": 1734704032,
"photos": [],
"sub_tasks": []
}
],
"created_at": 1734704032,
"updated_at": 1734704032
}
]
}
]