v1/shiftsCopy Pageget https://shyftplan.com/api/v1/shiftsList all ShiftsQuery 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.company_idint32required≥ 1ID of a shyftplan account.assignment_group_ids[]array of int32sFilter by an array of Assignment Groups IDsassignment_group_ids[]ADD int32connected_group_idint32Filter by connected group IDcreated_afterdate-timeReturn all records which are created aftercreated_beforedate-timeReturn all records which are created beforeemployment_idint32Filter by Employment ID. Cannot be used with employment_idsemployment_ids[]array of int32sFilter by an array of Employment IDs. Cannot be used with employment_iPdemployment_ids[]ADD int32ends_atdate-timeextended_infobooleanDefaults to falseInclude fields "can_manage", "staff_shifts_count", "staff_shifts_needs_evaluation_count" in the responsetruefalseidint32Filter by Shift IDids[]array of int32sFilter by an array of Shift IDsids[]ADD int32locations_position_idint32Filter by LocationsPosition IDlocations_position_ids[]array of int32sFilter by an array of LocationsPosition IDslocations_position_ids[]ADD int32not_in_shift_rotation_group_ids[]array of int32sFilter shifts that do not belong to shift-system groupsnot_in_shift_rotation_group_ids[]ADD int32only_openbooleanDefaults to falseInclude only open shiftstruefalseorder_dirstringenumDefaults to ascSort directionascdescAllowed:ascdescorder_keystringenumDefaults to idSort by keyidstarts_atAllowed:idstarts_atpageint32≥ 1Defaults to 1Number of the page of responses to retrieve. First page: 1.per_pageint321 to 1000Defaults to 500Number of responses on each page.shiftplan_idint32Filter by Shiftplan IDshiftplan_ids[]array of int32sFilter by an array of Shiftplan IDsshiftplan_ids[]ADD int32shift_preset_ids[]array of int32sFilter by an array of shift presets. Use 0 or -1 for shifts with custom presetsshift_preset_ids[]ADD int32shift_rotation_group_ids[]array of int32sFilter by shift-system group IDsshift_rotation_group_ids[]ADD int32starts_atdate-timetag_ids[]array of int32sFilter by an array of Shift Tag IDstag_ids[]ADD int32updated_afterdate-timeReturn all records which are updated afterupdated_beforedate-timeReturn all records which are updated beforewithout_conflictsbooleanDefaults to falseInclude only shifts without conflicts, only_open must be true and current user must be an employee onlytruefalsewithout_shift_presetsbooleanDefaults to falseInclude shifts with custom presets, can be used with shift_preset_idstruefalsewithout_tagsbooleanFilter shifts without Shift TagstruefalseResponses 200Successfully listed 400user must be an employee if without_conflicts is true company_id is missingonly_open must be true if without_conflicts is true 403forbidden 422The request is invalidUpdated 3 months ago v1/shiftplans/{id}/publishv1/shiftsDid this page help you?YesNo