Create shift
connecteam_create_shiftWRITE: create ONE shift in a scheduler (one assignee or one open spot: the V1 endpoint does not create group or multi-spot shifts). By default it is created as an unpublished draft (employees see nothing). With is_published=true it is published, and Connecteam notifies the assigned users unless notify_users=false. Give a title or a job_id (Connecteam requires one). For an open shift set is_open_shift=true and leave assigned_user_ids empty. POST /scheduler/v1/schedulers/{schedulerId}/shifts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A plain-text note shown on the shift. | |
| color | No | Shift color from Connecteam's palette; defaults to the job's color (or #4B7AC5). | |
| title | No | Shift title (required unless job_id is given). | |
| job_id | No | Job id (connecteam_list_jobs) to attach the shift to. | |
| end_time | Yes | Shift end: Unix seconds or ISO 8601 date-time with zone. | |
| timezone | No | IANA time zone, e.g. America/New_York (default: the account's time zone). | |
| start_time | Yes | Shift start: Unix seconds or ISO 8601 date-time with zone. | |
| task_titles | No | Shift tasks (checklist items) by title. | |
| is_published | No | Publish the shift now (default false = draft). | |
| notify_users | No | For a published shift: notify the assigned users (Connecteam default true). | |
| scheduler_id | Yes | Scheduler id (connecteam_list_schedulers). | |
| is_open_shift | No | Create an open shift with one spot that an employee can claim (default false). | |
| assigned_user_ids | No | The user id to assign (at most one: the V1 endpoint rejects more); empty for an open shift. | |
| require_admin_approval | No | Claiming needs admin approval (open shifts only). |