When I Work · OpenAPI Overlay 1.0.0

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

13 actions 13 updates phrasing extends openapi/when-i-work-users-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 13

$.info
$.paths['/2/users'].get
$.paths['/2/users'].post
$.paths['/2/users/{id}'].get
$.paths['/2/users/{id}'].put
$.paths['/2/users/{id}'].delete
$.paths['/2/users/avatar/{id}'].post
$.paths['/2/users/bulkupdate'].post
$.paths['/2/users/profile'].get
$.paths['/2/users/profile'].post
$.paths['/2/users/alerts'].post
$.paths['/2/users/invite'].post
$.paths['/2/users/invite/{id}'].post

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 Users API
  version: 1.0.0
extends: openapi/when-i-work-users-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: 12
- target: $.paths['/2/users'].get
  update:
    x-apievangelist-phrasing:
      intent: List users in an account
      effect: read
      questions:
      - Who are the users in my account?
      - Can I include pending users when listing users?
      - How do I list only deleted users in my account?
      instructions:
      - text: List all users in my account.
      - text: List users at location {location_id}.
        slots:
          location_id: query.location_id
      - text: Find users whose name or email contains {search}.
        slots:
          search: query.search
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a user
      effect: write
      questions:
      - How do I add a new employee to the account?
      - Can I set an hourly rate and start date when creating a user?
      instructions:
      - text: Create user {first_name} {last_name} with email {email}.
        slots:
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          email: requestBody.email
      - text: Add employee {first_name} {last_name} at hourly rate {hourly_rate}.
        slots:
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          hourly_rate: requestBody.hourly_rate
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a user
      effect: read
      questions:
      - What are the details of one employee?
      - Can I look up a user by ID?
      instructions:
      - text: Get user {id}.
        slots:
          id: path.id
      - text: Show the profile of employee {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a user
      effect: write
      questions:
      - How do I change an employee's role or hourly rate?
      - Can I reactivate a deleted user?
      instructions:
      - text: Update user {id} to role {role}.
        slots:
          id: path.id
          role: requestBody.role
      - text: Set the hourly rate of user {id} to {hourly_rate}.
        slots:
          id: path.id
          hourly_rate: requestBody.hourly_rate
      - text: Reactivate deleted user {id} with reactivate {reactivate}.
        slots:
          id: path.id
          reactivate: requestBody.reactivate
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a user
      effect: destructive
      questions:
      - How do I remove an employee from the account?
      - Can I delete a user and move their future shifts to Open Shifts?
      instructions:
      - text: Delete user {id}.
        slots:
          id: path.id
      - text: Remove user {id} and delete their future shifts.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/avatar/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a user's avatar
      effect: write
      questions:
      - How do I upload a photo for an employee?
      - Can I replace a user's profile picture?
      instructions:
      - text: Upload an avatar for user {id}.
        slots:
          id: path.id
      - text: Set the profile photo of employee {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/bulkupdate'].post
  update:
    x-apievangelist-phrasing:
      intent: Create many users at once
      effect: write
      questions:
      - Can I add a batch of employees in one request?
      - What is the maximum number of users I can create in one bulk call?
      instructions:
      - text: Create a batch of users from this list.
      - text: Add these new employees in bulk with invite {invite}.
        slots:
          invite: requestBody.invite
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/profile'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the logged-in user's profile
      effect: read
      questions:
      - What profile information is available for the user making the request?
      - Can an employee see their own profile details?
      instructions:
      - text: Show my own user profile.
      - text: Get the logged-in user's contact details.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/profile'].post
  update:
    x-apievangelist-phrasing:
      intent: Update the logged-in user's profile
      effect: write
      questions:
      - How can an employee change their own phone number or email?
      - Can an employee make their profile private?
      instructions:
      - text: Update my profile to phone {phone_number}.
        slots:
          phone_number: requestBody.phone_number
      - text: Make my profile private.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/alerts'].post
  update:
    x-apievangelist-phrasing:
      intent: Update the logged-in user's alert settings
      effect: write
      questions:
      - How do I turn off attendance reminders for my users?
      - Can I change when users get alerts about schedule swaps?
      instructions:
      - text: Set the attendance alert setting to {attendance}.
        slots:
          attendance: requestBody.attendance
      - text: Change the swap alert setting to {swaps}.
        slots:
          swaps: requestBody.swaps
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/invite'].post
  update:
    x-apievangelist-phrasing:
      intent: Invite users to register
      effect: write
      questions:
      - How do I invite employees who don't have a login yet?
      - Can I send a custom message with a user invite?
      instructions:
      - text: Invite all users without a login.
      - text: Invite users {ids} with the message {message}.
        slots:
          ids: requestBody.ids
          message: requestBody.message
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/users/invite/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Invite one user to register
      effect: write
      questions:
      - How do I invite a single pending employee to register?
      - Can I include a personal message when inviting one user?
      instructions:
      - text: Invite user {id} to register.
        slots:
          id: path.id
      - text: Send an invite to employee {id} with message {message}.
        slots:
          id: path.id
          message: requestBody.message
      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-users-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.