v1/availabilitiesCopy Pagepost https://shyftplan.com/api/v1/availabilitiesCreate a new (un-)availability.Body ParamsSchema for the creation of an availability.user_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_idint32≥ 1ID of a shyftplan account.availablebooleanrequiredDefaults to trueDoes this availability object mark available or unavailable timeframes? Available options:true: Available.false: Unvailable.truefalseemployment_idint32required≥ 1ID of the employment.ends_atdate-timerequiredEnd date-time (ISO 8601) of the availability (rounded to steps of 15 minutes)overridebooleanrequiredDefaults to falseDestroy conflicting availabilities? Conflict arises if the timeframe or timeframes (for repeated availabilities) of two availabilities overlap.truefalserepeatbooleanrequiredDefaults to falseIs the availability repeated weekly?truefalsestarts_atdate-timerequiredStart date-time (ISO 8601) of the availability (rounded to steps of 15 minutes)Response 201Created the new availability.Updated 3 months ago v1/availabilitiesv2/availabilitiesDid this page help you?YesNo