GuidesAPI ReferenceChangelogDiscussions
Back to 7shifts.comBecome a Partner
API Reference
These docs are for v2.2022.0501. Click to read the latest docs for v2.2023.0501.

List Time Punches

Sample Response

{
    "data": [
        {
            "id": 987654,
            "company_id": 1234,
            "shift_id": 12345677,
            "user_id": 112233,
            "editable_punch": true,
            "role_id": 4320,
            "location_id": 9876,
            "department_id": 4567,
            "hourly_wage": 1800,
            "approved": true,
            "clocked_in": "2022-07-06T22:55:00+00:00",
            "clocked_out": "2022-07-07T17:00:00+00:00",
            "notes": "",
            "auto_clocked_out": false,
            "clocked_in_offline": false,
            "clocked_out_offline": false,
            "tips": 0,
            "created": "2022-07-06T14:12:19+00:00",
            "modified": "2022-07-06T14:12:19+00:00",
            "deleted": false,
            "pos_type": "web",
            "breaks": [
                {
                    "id": 261431079,
                    "user_id": 112233,
                    "custom_break_id": 0,
                    "paid": true,
                    "in": "2022-07-07T01:00:00+00:00",
                    "out": "2022-07-07T01:25:00+00:00",
                    "deleted": false
                }
            ]
        },
        {
            "id": 987655,
            "company_id": 1234,
            "shift_id": 12345678,
            "user_id": 112233,
            "editable_punch": true,
            "role_id": 4320,
            "location_id": 9876,
            "department_id": 4567,
            "hourly_wage": 1800,
            "approved": true,
            "clocked_in": "2022-07-06T23:01:00+00:00",
            "clocked_out": "2022-07-07T04:45:00+00:00",
            "notes": "",
            "auto_clocked_out": false,
            "clocked_in_offline": false,
            "clocked_out_offline": false,
            "tips": 0,
            "created": "2022-07-08T00:52:54+00:00",
            "modified": "2022-07-08T00:52:54+00:00",
            "deleted": false,
            "pos_type": "web",
            "breaks": [
                {
                    "id": 261513789,
                    "user_id": 112233,
                    "custom_break_id": 0,
                    "paid": true,
                    "in": "2022-07-07T01:00:00+00:00",
                    "out": "2022-07-07T01:30:00+00:00",
                    "deleted": false
                }
            ]
        }
    ],
    "meta": {
        "cursor": {
            "current": "",
            "prev": null,
            "next": null,
            "count": 2
        }
    },
    "object": "time_punches"
}
Language
Credentials
Click Try It! to start a request and see the response here!