Add Shift

Create a new shift with the given details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean
Defaults to false
Body Params
date-time
required

The start time (UTC) of the shift e.g 2023-07-27 06:30:00+00

date-time
required

The end time (UTC) of the shift e.g 2023-07-27 06:30:00+00

The ID of the team the shift belongs to (if any)

The ID of the role the shift belongs to (if any)

The ID of the shift type

The ID of the recurrence the shift belongs to

The ID of the person assigned to the shift (if any)

The ID of the payment associated with the shift

The number of people required for the shift if unassigned

Whether the shift needs syncing to the user's calendar

Whether the shift needs publishing on slack

Whether the shift is re-syncing to the user's calendar

Whether the shift is re-publishing on slack

Whether the shift needs re-sending email to the user

Whether the shift is re-sending email to the user

Whether the shift needs re-sending sms to the user

Whether the shift is re-sending sms to the user

When shift was last published

Whether shift change requests should be approved automatically

Whether person can request changes to the timing of their shift

object | null

Details the shift that was published

Any notes about the shift

Whether shift was created as a result of clocking-in

Whether timesheet associated with the shift has been approved

array | null

List of license types IDs required for shift

array | null

List of client IDs required for shift

Whether the shift has flexible hours

RecurrenceNew | null

The recurrence details for the shift

The status of the shift

Whether shift has been archived

Whether to update joined objects that are linked to the shift

The time when the person clocked in (UTC)

The time when the person clocked out (UTC)

array | null

The activities that are linked to the shift

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json