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 Departments

Sample Response

{
    "data": [
        {
            "id": 4567,
            "company_id": 1234,
            "location_id": 9876,
            "name": "FOH",
            "default": false,
            "deleted": null,
            "created": "2021-10-19T22:59:15+00:00",
            "modified": "2021-10-20T17:06:12+00:00"
        },
        {
            "id": 4568,
            "company_id": 1234,
            "location_id": 9876,
            "name": "Kitchen",
            "default": false,
            "deleted": null,
            "created": "2021-10-19T22:59:15+00:00",
            "modified": "2021-10-19T22:59:15+00:00"
        }
    ],
    "meta": {
        "cursor": {
            "current": "eyJsaW1pdCI6xXAwLCJvZmZzZXQiOjB9",
            "prev": null,
            "next": null,
            "count": 2
        }
    },
    "object": "departments"
}
Language
Credentials
Click Try It! to start a request and see the response here!