When I Work · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for When I Work API Documentation Payrolls API

6 actions 6 updates phrasing extends openapi/when-i-work-payrolls-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/payrolls'].get
$.paths['/2/payrolls/{id}'].get
$.paths['/2/payrolls/{id}'].put
$.paths['/2/payrolls/{id}/stats'].get
$.paths['/2/payrolls/notices'].get

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 Payrolls API
  version: 1.0.0
extends: openapi/when-i-work-payrolls-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/payrolls'].get
  update:
    x-apievangelist-phrasing:
      intent: List payroll periods and totals
      effect: read
      questions:
      - What pay periods were run in a date range?
      - Can I see payroll totals for a period?
      instructions:
      - text: List payrolls from {start} to {end}.
        slots:
          start: query.start
          end: query.end
      - text: Show payroll periods and totals between {start} and {end}.
        slots:
          start: query.start
          end: query.end
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/payrolls/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a payroll period
      effect: read
      questions:
      - How do I look up one pay period by ID?
      - Can I see the start and end dates of a payroll?
      instructions:
      - text: Get payroll {id}.
        slots:
          id: path.id
      - text: Show pay period {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/payrolls/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a payroll period
      effect: write
      questions:
      - Can I change the start or end date of a pay period?
      - Is it possible to close or finalize a payroll?
      instructions:
      - text: Set payroll {id} end date to {end_date}.
        slots:
          id: path.id
          end_date: requestBody.end_date
      - text: Close payroll {id} with notes {notes}.
        slots:
          id: path.id
          notes: requestBody.notes
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/payrolls/{id}/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get current hours statistics for a payroll
      effect: read
      questions:
      - How many hours are in a payroll period right now?
      - Can I get aggregate stats for a pay period?
      instructions:
      - text: Get current hours stats for payroll {id}.
        slots:
          id: path.id
      - text: Show aggregate stats for pay period {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/payrolls/notices'].get
  update:
    x-apievangelist-phrasing:
      intent: List attendance notices
      effect: read
      questions:
      - What absences or late clock-ins have been flagged?
      - Can I see notices from a certain number of days?
      instructions:
      - text: List attendance notices.
      - text: Show notices from the last {rangeInDays} days.
        slots:
          rangeInDays: query.rangeInDays
      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-payrolls-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.