ShiftManagement > Shift > Creates

Subscription_type: shift_management/shift/create

Payload

Callback payload

integer
required

Unique identifier for the shift

integer
required

Identifier of the company that owns this shift

string

Display name of the shift. If not explicitly set, falls back to the default shift title or template week name

string
enum
required

Current state of the shift. 'draft' means the shift is not yet visible to employees, 'published' means it's visible and confirmed, 'backup' indicates a backup shift that can be replaced

Allowed:
integer

Identifier of the location where the shift takes place. Can be null if the shift uses the employee's default location

integer

Identifier of the specific work area within the location where the shift occurs. Work areas allow further subdivision of locations

integer
required

Identifier of the employee assigned to this shift

string
required

Timestamp indicating when the shift starts

string
required

Timestamp indicating when the shift ends

string

Optional notes or comments about the shift, visible to managers and schedulers

boolean
required

Indicates whether this shift counts as extra hours beyond the employee's regular schedule. Used for overtime calculations

string

Title from the default shift template that was used to create this shift, if applicable

string
required

IANA timezone identifier (e.g., 'Europe/Madrid', 'America/New_York') used to display the shift times in the local timezone

string
required

Start time of the shift converted to the local timezone. This is what employees see in their schedule

string
required

End time of the shift converted to the local timezone. This is what employees see in their schedule

Response
200

Return a 200 status to indicate that the data was received successfully

LoadingLoading…