When I Work · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for When I Work API Documentation Shift Templates (Blocks) API

6 actions 6 updates phrasing extends openapi/when-i-work-shift-templates-blocks-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.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/2/blocks'].get
$.paths['/2/blocks'].post
$.paths['/2/blocks/{id}'].get
$.paths['/2/blocks/{id}'].put
$.paths['/2/blocks/{id}'].delete

OpenAPI Overlay

Raw ↑
# 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 Shift Templates (Blocks) API
  version: 1.0.0
extends: openapi/when-i-work-shift-templates-blocks-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: 5
- target: $.paths['/2/blocks'].get
  update:
    x-apievangelist-phrasing:
      intent: List shift templates
      effect: read
      questions:
      - What shift templates are set up in my account?
      - Can I see all my recurring shift templates?
      instructions:
      - text: List all shift templates.
      - text: Show every recurring shift template in the account.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/blocks'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a shift template
      effect: write
      questions:
      - How do I create a recurring shift template?
      - Can I set breaks and a color on a new shift template?
      instructions:
      - text: Create a shift template from {start_time} to {end_time}.
        slots:
          start_time: requestBody.start_time
          end_time: requestBody.end_time
      - text: Create a shift template for position {position_id} at location {location_id}.
        slots:
          position_id: requestBody.position_id
          location_id: requestBody.location_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/blocks/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a shift template
      effect: read
      questions:
      - How do I look up one shift template by ID?
      - What start and end times does a particular shift template have?
      instructions:
      - text: Get shift template {id}.
        slots:
          id: path.id
      - text: Show the start and end time of shift template {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/blocks/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a shift template
      effect: write
      questions:
      - How do I change the breaks on an existing shift template?
      - Can I delete breaks from a shift template by leaving them out of the update?
      instructions:
      - text: Update shift template {id} to end at {end_time}.
        slots:
          id: path.id
          end_time: requestBody.end_time
      - text: Replace the breaks on shift template {id} with {breaks}.
        slots:
          id: path.id
          breaks: requestBody.breaks
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/blocks/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete shift templates
      effect: destructive
      questions:
      - How do I delete a shift template I no longer need?
      - Can I delete several shift templates at once?
      instructions:
      - text: Delete shift template {id}.
        slots:
          id: path.id
      - text: Delete shift templates {ids}.
        slots:
          ids: query.ids
      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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/when-i-work-shift-templates-blocks-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.