GuidesAPI ReferenceChangelogDiscussions
Back to 7shifts.comBecome a Partner
API Reference

List Departments

Minimum Plan Required: Comp

Sample Response

{
    "data": [
        {
            "id": 7890,
            "company_id": 1234,
            "location_id": 4569,
            "name": "FOH",
            "default": false,
            "deleted": null,
            "created": "2021-10-19T22:59:15+00:00",
            "modified": "2021-10-20T17:06:12+00:00"
        },
        {
            "id": 7891,
            "company_id": 1234,
            "location_id": 4569,
            "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": "eyJsaW1pdCI6MTAwLCJvZmZzZXQiOjB9",
            "prev": null,
            "next": null,
            "count": 2
        }
    },
    "object": "departments"
}
Language
Credentials
Click Try It! to start a request and see the response here!