v1/shiftsCopy Pagepost https://shyftplan.com/api/v1/shiftsCreate a new shiftBody Paramsuser_emailstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. E-mail address of the API user.authentication_tokenstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. Authentication token - can be fetched by login action.assignment_group_idsarray of objectsArray of assignment group IDsassignment_group_idsADD int32auto_acceptstringenumDefaults to disabledAuto accept shift requests as long as there are open slots on the shiftdisabledenforcedwarningAllowed:disabledenforcedwarningbreak_timeint32≥ 1Defaults to 30Total duration of timed breaks in minutes (Required unless untimed_break_time is present)can_evaluatebooleanDefaults to trueCan employees propose evaluations?truefalseevaluation_tag_idsarray of objectsArray of EvaluationTag IDs (including from shift presets)evaluation_tag_idsADD int32idempotency_keystringOptional MCP-safety idempotency key. When present with API-token auth, repeated calls with the same fingerprint within the TTL window replay the cached response instead of re-creating the shift preset. Ignored for session auth.ignore_conflictsstringDefaults to trueEither true to ignore all conflicts listed below or an Array of specific conflicts to ignore. Only warnings can be ignored, enforced conflicts will persist. Possible values are: shifts_collisionabsences_collisionlocations_position_changedminimum_breakmaximum_working_hoursminimum_restmaximum_earningoutside_employment_periodmaximum_consecutive_working_daysrestricted_shift_presetsunavailablenot_availableminimum_qualification_levelnot_in_shift_presetpunch_timing_reassignmentlocations_position_idint32required≥ 1ID of a locations-position, which is the link between a position and a location. (These IDs are returned by GET /locations_positions.)manager_notestringManager note for the ShiftmetadatastringShift metadata as jsonnotestringNote for the shiftqualificationsarray of objectsCollection of required qualificationsqualificationsADD objectshift_breaksarray of objectsCollection of timed shift breaksshift_breaksADD objectshift_preset_idint32≥ 1ID of a shift preset.shift_rotation_group_idsarray of objectsList of shift-system group IDs.shift_rotation_group_idsADD int32shiftplan_idint32required≥ 1ID of the shift schedule.starts_atdate-timerequiredDate-time (ISO 8601) for the begin of the object's span.ends_atdate-timerequiredDate-time (ISO 8601) for the end of the object's span.tag_idsarray of objectsArray of Shift Tag IDs (including from shift presets)tag_idsADD int32untimedbooleanDefaults to falseIs this a Standby shift?truefalseuntimed_break_timeint32≥ 1Duration of untimed breaks in minutes (Required unless break_time is present)workersint32required≥ 0Defaults to 0Number of workersResponses 201Successfully connected 400Company not found Shiftplan not found LocationsPosition not found Tag not found Evaluation Tag not found Qualifications feature is not enabled Qualifications not found Shift-system Group Not Found Assignment Group not found 403forbidden 422Shift conflictsUpdated 4 months ago v1/shiftsv2/shiftsDid this page help you?YesNo