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 Shifts

Sample Response

{
    "data": [
        {
            "id": 12345677,
            "user_id": 112233,
            "start": "2022-07-06T17:00:00Z",
            "end": "2022-07-06T23:00:00Z",
            "close": false,
            "bd": false,
            "hourly_wage": 18,
            "department_id": 4567,
            "location_id": 9876,
            "role_id": 4320,
            "notes": "",
            "draft": false,
            "notified": false,
            "open": false,
            "unassigned": false,
            "unassigned_skill_level": 0,
            "open_offer_type": "all_location_members",
            "status": "none",
            "late_minutes": 0,
            "created": "2022-07-06T14:11:19Z",
            "modified": "2022-07-06T14:12:56Z",
            "deleted": false,
            "soft_deleted": null,
            "station": 1,
            "station_name": ""
        },
        {
            "id": 12345678,
            "user_id": 112233,
            "start": "2022-07-076T17:00:00Z",
            "end": "2022-07-07T23:00:00Z",
            "close": false,
            "bd": false,
            "hourly_wage": 18,
            "department_id": 4567,
            "location_id": 9876,
            "role_id": 4320,
            "notes": "",
            "draft": false,
            "notified": false,
            "open": false,
            "unassigned": false,
            "unassigned_skill_level": 0,
            "open_offer_type": "all_location_members",
            "status": "none",
            "late_minutes": 0,
            "created": "2022-07-08T00:27:52Z",
            "modified": "2022-07-08T00:33:33Z",
            "deleted": false,
            "soft_deleted": null,
            "station": 0,
            "station_name": ""
        },
        {
            "id": 12345679,
            "user_id": 112233,
            "start": "2022-07-087T19:00:00Z",
            "end": "2022-07-08T00:00:00Z",
            "close": true,
            "bd": false,
            "hourly_wage": 18,
            "department_id": 4567,
            "location_id": 9876,
            "role_id": 4320,
            "notes": "",
            "draft": false,
            "notified": false,
            "open": false,
            "unassigned": false,
            "unassigned_skill_level": 0,
            "open_offer_type": "all_location_members",
            "status": "no-show",
            "late_minutes": 0,
            "created": "2022-07-08T00:44:02Z",
            "modified": "2022-07-08T00:57:47Z",
            "deleted": false,
            "soft_deleted": null,
            "station": 0,
            "station_name": ""
        }
    ],
    "meta": {
        "cursor": {
            "current": "",
            "prev": null,
            "next": null,
            "count": 3
        }
    },
    "object": "shifts"
}
Language
Authorization
Click Try It! to start a request and see the response here!