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

Retrieve Role

Minimum Plan Required: Entrée

Sample Response

{
    "data": {
        "id": 2583,
        "company_id": 1234,
        "location_id": 4569,
        "department_id": 7890,
        "color": "1e71b2",
        "num_stations": 2,
        "name": "Server",
        "job_code": "",
        "sort": 1,
        "stations": [
            {
                "id": 1,
                "station_number": 1,
                "name": "test station one"
            },
            {
                "id": 2,
                "station_number": 2,
                "name": "test station two"
            }
        ],
        "created": "2021-10-28T16:48:42+0000",
        "modified": "2022-12-02T21:31:44+0000"
    },
    "object": "role"
}
Language
Authorization
Click Try It! to start a request and see the response here!