Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Minimum string length: 1
startTime
string
required
endTime
string
required
shiftCode
string
Minimum string length: 1
description
string
activeDays
string[]
timezone
string
default:UTC
color
string
status
enum<string>
Available options:
active,
inactive
priority
integer | null
defaultShift
boolean
coreStartTime
string
coreEndTime
string
autoCheckoutTime
string
workMode
enum<string>
Available options:
office_only,
remote_only,
hybrid,
client_location,
flexible
weeklyOffPattern
enum<string>
Available options:
sat_sun_off,
sunday_off,
alternate_saturday,
second_fourth_saturday,
rotational
totalShiftDuration
number | null
Required range: x >= 0
netWorkingHours
number | null
Required range: x >= 0
minimumRequiredHours
number | null
Required range: x >= 0
maximumAllowedHours
number | null
Required range: x >= 0
breakDurationMinutes
number | null
Required range: x >= 0
gracePeriodMinutes
number | null
Required range: x >= 0
lateMarkAfterMinutes
number | null
Required range: x >= 0
halfDayAfterHours
number | null
Required range: x >= 0
absentAfterHours
number | null
Required range: x >= 0
overtimeAfterHours
number | null
Required range: x >= 0
overtimeEnabled
boolean
checkinRequired
boolean
checkoutRequired
boolean
multipleCheckinsAllowed
boolean
breakPunchRequired
boolean
autoCheckoutEnabled
boolean
geofenceEnabled
boolean
selfieVerificationEnabled
boolean
ipRestrictionEnabled
boolean
locationTrackingEnabled
boolean
vpnRequired
boolean
mondayEnabled
boolean
tuesdayEnabled
boolean
wednesdayEnabled
boolean
thursdayEnabled
boolean
fridayEnabled
boolean
saturdayEnabled
boolean
sundayEnabled
boolean
timesheetRequired
boolean
taskTrackingRequired
boolean
jiraRequired
boolean
dailyStatusReportRequired
boolean
notifyEmployeeLate
boolean
notifyManagerAbsent
boolean
notifyHrRepeatedLate
boolean
notifyMissedCheckout
boolean
notifyOvertime
boolean

Response

201 - application/json

Success

data
object
required