When I Work · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for When I Work API Documentation Shifts API
18 actions
18 updates
phrasing
extends
openapi/when-i-work-shifts-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for When I Work's API. It is a proposal applied on top of the contract, not a document When I Work publishes.
What the actions change
x-apievangelist-phrasing
Targets 18 · first 16 shown; the file carries all of them
$.info
$.paths['/2/shifts'].get
$.paths['/2/shifts'].post
$.paths['/2/shifts'].delete
$.paths['/2/shifts/{id}'].get
$.paths['/2/shifts/{id}'].put
$.paths['/2/shifts/{id}'].delete
$.paths['/2/shifts/unassign'].post
$.paths['/2/shifts/{id}/assign'].post
$.paths['/2/shifts/eligible'].get
$.paths['/2/shifts/{id}/history'].get
$.paths['/2/shifts/publish'].post
$.paths['/2/shifts/unpublish'].post
$.paths['/2/shifts/notify'].post
$.paths['/2/shifts/notify/{id}'].post
$.paths['/2/shifts/bulk'].put
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for When I Work API Documentation Shifts API
version: 1.0.0
extends: openapi/when-i-work-shifts-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 17
- target: $.paths['/2/shifts'].get
update:
x-apievangelist-phrasing:
intent: List shifts
effect: read
questions:
- Which shifts are scheduled for a given employee?
- Can I include open shifts and unpublished shifts in a shift list?
instructions:
- text: List shifts for user {user_id} from {start} to {end}.
slots:
user_id: query.user_id
start: query.start
end: query.end
- text: Show all shifts at location {location_id} including open shifts.
slots:
location_id: query.location_id
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts'].post
update:
x-apievangelist-phrasing:
intent: Create a shift
effect: write
questions:
- How do I add a new shift to the schedule?
- Can I create several shifts in one request?
instructions:
- text: Create a new shift.
- text: Add a batch of new shifts to the schedule.
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts'].delete
update:
x-apievangelist-phrasing:
intent: Bulk delete shifts
effect: destructive
questions:
- How do I delete several shifts in one bulk call?
- Can I delete shifts by user, position or date range?
instructions:
- text: Delete shifts {ids}.
slots:
ids: query.ids
- text: Delete shifts assigned to {user_id}.
slots:
user_id: requestBody.user_id
- text: Delete shifts for {position_id} between {start} and {end}.
slots:
position_id: requestBody.position_id
start: requestBody.start
end: requestBody.end
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a shift
effect: read
questions:
- What are the details of one shift?
- Can I see a shift's details including repeating shifts?
instructions:
- text: Get shift {id}.
slots:
id: path.id
- text: Show shift {id} with repeating shifts up to {include_repeating_shifts_to}.
slots:
id: path.id
include_repeating_shifts_to: query.include_repeating_shifts_to
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/{id}'].put
update:
x-apievangelist-phrasing:
intent: Update a shift
effect: write
questions:
- How do I change the time or assignee of an existing shift?
- Can I edit a single shift by its ID?
instructions:
- text: Update shift {id}.
slots:
id: path.id
- text: Change the details of shift {id} and include repeating shifts to {include_repeating_shifts_to}.
slots:
id: path.id
include_repeating_shifts_to: query.include_repeating_shifts_to
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a shift
effect: destructive
questions:
- How do I delete one shift that is no longer needed?
- Can I notify the employee when a single shift is deleted?
instructions:
- text: Delete shift {id}.
slots:
id: path.id
- text: Remove shift {id} and notify the assignee with {message}.
slots:
id: path.id
message: query.message
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/unassign'].post
update:
x-apievangelist-phrasing:
intent: Release shifts to open
effect: write
questions:
- How do I turn assigned shifts back into OpenShifts?
- Can employees release their own shifts when the setting is enabled?
instructions:
- text: Release shifts {shift_ids} back to OpenShifts.
slots:
shift_ids: requestBody.shift_ids
- text: Move the assigned shifts {shift_ids} to OpenShift status.
slots:
shift_ids: requestBody.shift_ids
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/{id}/assign'].post
update:
x-apievangelist-phrasing:
intent: Assign users to an OpenShift
effect: write
questions:
- How do I assign several employees to an OpenShift?
- Can I approve multiple users for an OpenShift that needs approval?
instructions:
- text: Assign users {user_ids} to OpenShift {id}.
slots:
user_ids: requestBody.user_ids
id: path.id
- text: Approve {user_ids} for OpenShift {id}.
slots:
user_ids: requestBody.user_ids
id: path.id
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/eligible'].get
update:
x-apievangelist-phrasing:
intent: List users eligible for an OpenShift
effect: read
questions:
- Which employees are eligible to take a given OpenShift?
- Can I check OpenShift eligibility by position and location?
instructions:
- text: List eligible users for an OpenShift from {start} to {end} at location {location_id}.
slots:
start: query.start
end: query.end
location_id: query.location_id
- text: Show who can take OpenShift {id} with position {position_id}.
slots:
id: query.id
position_id: query.position_id
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/{id}/history'].get
update:
x-apievangelist-phrasing:
intent: View a shift's change history
effect: read
questions:
- Who changed a shift and why?
- How far back does shift change history go?
instructions:
- text: Show the change history of shift {id}.
slots:
id: path.id
- text: Show shift {id} history including deleted shifts.
slots:
id: path.id
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/publish'].post
update:
x-apievangelist-phrasing:
intent: Publish a group of shifts
effect: write
questions:
- How do I publish a batch of shifts that are ready?
- Can I notify users when I publish many shifts at once?
instructions:
- text: Publish these shifts {ids}.
slots:
ids: requestBody.ids
- text: Mark the shifts {ids} as published.
slots:
ids: requestBody.ids
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/unpublish'].post
update:
x-apievangelist-phrasing:
intent: Unpublish a group of shifts
effect: write
questions:
- How do I make some published shifts inactive again?
- Can I unpublish a list of shifts by ID?
instructions:
- text: Unpublish these shifts {ids}.
slots:
ids: requestBody.ids
- text: Hide the shifts {ids} so they're no longer published.
slots:
ids: requestBody.ids
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/notify'].post
update:
x-apievangelist-phrasing:
intent: Notify employees of shifts
effect: write
questions:
- How do I send notifications about a published schedule?
- Can I notify only new or changed shifts since the last notification?
instructions:
- text: Notify employees of shifts from {start} to {end}.
slots:
start: requestBody.start
end: requestBody.end
- text: Send shift notifications to users {user_ids} at location {location_id}.
slots:
user_ids: requestBody.user_ids
location_id: requestBody.location_id
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/notify/{id}'].post
update:
x-apievangelist-phrasing:
intent: Notify employees of one shift
effect: write
questions:
- How do I notify an employee about a single shift?
- Can I send a custom message with a shift notification?
instructions:
- text: Notify about shift {id}.
slots:
id: path.id
- text: Send a notification about shift {id} with message {message}.
slots:
id: path.id
message: requestBody.message
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/bulk'].put
update:
x-apievangelist-phrasing:
intent: Update many shifts at once
effect: write
questions:
- How do I change several shifts in one request?
- Can I assign OpenShift instances to only one instance of a multi-instance OpenShift?
instructions:
- text: Bulk update these shifts.
- text: Update many shifts and assign OpenShift instances one at a time.
method: generated
generated: '2026-11-22'
- target: $.paths['/2/shifts/{id}/swapusers'].get
update:
x-apievangelist-phrasing:
intent: List users who can take a dropped shift
effect: read
questions:
- Which employees can cover a shift that was dropped?
- Can I get only the IDs of people eligible to take a dropped shift?
instructions:
- text: List users eligible to take dropped shift {id}.
slots:
id: path.id
- text: Show only the IDs of people who can cover shift {id}.
slots:
id: path.id
method: generated
generated: '2026-11-22'
- target: $.paths['/v3/auto-assign'].get
update:
x-apievangelist-phrasing:
intent: Auto-schedule OpenShifts
effect: write
questions:
- How do I auto-schedule OpenShifts for a team?
- Can the auto-scheduler avoid employees' unavailability?
instructions:
- text: Auto-schedule OpenShifts {ids} at location {location} from {start} to {end}.
slots:
ids: query.ids
location: query.location
start: query.start
end: query.end
- text: Auto-schedule OpenShifts {ids} at location {location} with a maximum of {autoScheduleMaxHours} hours per week.
slots:
ids: query.ids
location: query.location
autoScheduleMaxHours: query.autoScheduleMaxHours
method: generated
generated: '2026-11-22'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/when-i-work-shifts-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.