Shifts

A shift represents an interval of time repeated over 1 or more days in a week.

Shifts are assigned 1 or more teammates, whose availability status is automatically handled by Front every time a shift starts or ends.

Shift Timezones
The intervals of time defined for shifts must always define in which timezone they take effect.
A list of possible time zone values is maintained at the IANA Time Zone Database.

Shifts Intervals
Every shift can define zero or one contiguous time interval per day of the week.
An interval has to be defined for at least one day of the week.

Name

Description

mon

Shift Interval with start and end for Monday

tue

Shift Interval with start and end for Tuesday

wed

Shift Interval with start and end for Wednesday

thu

Shift Interval with start and end for Thursday

fri

Shift Interval with start and end for Friday

sat

Shift Interval with start and end for Saturday

sun

Shift Interval with start and end for Sunday

Where a Shift Interval is defined as:

Name

Type

Description

start

string

A 24h time, e.g '13:45'

end

string

A 24h time, e.g '13:45'

Example Shift Object

{
  "_links": {
    "self": "https://api2.frontapp.com/shifts"
  },
  "_results": [
    {
      "_links": {
        "self": "https://api2.frontapp.com/shifts/shf_15d4q255",
        "related": {
          "teammates": "https://api2.frontapp.com/shifts/shf_15d4q255/teammates",
          "owner": "https://api2.frontapp.com/teams/tim_55c8c149"
        }
      },
      "id": "shf_15d4q255",
      "name": "Night shift",
      "color": "red",
      "timezone": "Etc/UTC",
      "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"
        }
      },
      "created_at": 0,
      "updated_at": 0
    }
  ]
}