v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Shifts

List Teammate Shifts

Lists all the shifts for the teammate.

Required scope: shifts:read

get/teammates/{teammate_id}/shifts

Path parameters

teammate_idstring required

The teammate ID. Alternatively, you can supply an email as a resource alias.

Response

Array of Shifts

Example response

{
  "_links": {
    "self": "https://yourCompany.api.frontapp.com/shifts"
  },
  "_results": [
    {
      "_links": {
        "self": "https://yourCompany.api.frontapp.com/shifts/shf_1bri",
        "related": {
          "teammates": "https://yourCompany.api.frontapp.com/shifts/shf_1bri/teammates",
          "owner": "https://yourCompany.api.frontapp.com/teams/tim_4kxji"
        }
      },
      "id": "shf_1bri",
      "name": "Scranton Business Park shifts",
      "color": "green",
      "timezone": "America/New_York",
      "times": {
        "mon": {
          "start": "09:00",
          "end": "17:00"
        },
        "tue": {
          "start": "09:00",
          "end": "17:00"
        },
        "wed": {
          "start": "09:00",
          "end": "17:00"
        },
        "thu": {
          "start": "09:00",
          "end": "17:00"
        },
        "fri": {
          "start": "09:00",
          "end": "17:00"
        },
        "sat": {
          "start": "09:00",
          "end": "17:00"
        },
        "sun": {
          "start": "09:00",
          "end": "17:00"
        }
      },
      "created_at": 1606943265.298,
      "updated_at": 1701878404.43
    }
  ]
}