Spendesk · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Spendesk Public Purchase orders API

7 actions 7 updates phrasing extends openapi/spendesk-purchase-orders-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Spendesk's API. It is a proposal applied on top of the contract, not a document Spendesk publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v1/purchase-orders'].get
$.paths['/v1/purchase-orders'].post
$.paths['/v1/purchase-orders/{purchaseOrderId}'].get
$.paths['/v1/purchase-orders/{purchaseOrderId}/cancel'].post
$.paths['/v1/purchase-orders/{purchaseOrderId}/close'].post
$.paths['/v1/purchase-orders/{purchaseOrderId}/document'].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 Spendesk Public Purchase orders API
  version: 1.0.0
extends: openapi/spendesk-purchase-orders-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/v1/purchase-orders'].get
  update:
    x-apievangelist-phrasing:
      intent: List purchase orders
      effect: read
      questions:
      - Which purchase orders have been raised in our company?
      - Can I filter purchase orders by supplier, status or date range?
      instructions:
      - text: List purchase orders for company {companyId}.
        slots:
          companyId: header.X-Company-Id
      - text: Show purchase orders with status {status} created between {from} and {to}.
        slots:
          status: query.status
          from: query.createdFrom
          to: query.createdTo
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/purchase-orders'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a purchase order
      effect: write
      questions:
      - How do I raise a purchase order for a supplier?
      - Can I set a start and end date and cost center on a new purchase order?
      instructions:
      - text: Create a purchase order for user {userId} of {amount} at cost center {costCenterId} from {startDate} to {endDate}.
        slots:
          userId: requestBody.userId
          amount: requestBody.amount
          costCenterId: requestBody.costCenterId
          startDate: requestBody.startDate
          endDate: requestBody.endDate
      - text: Raise a new purchase order for user {userId} with items {items}.
        slots:
          userId: requestBody.userId
          items: requestBody.items
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/purchase-orders/{purchaseOrderId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a purchase order
      effect: read
      questions:
      - What are the details of one purchase order?
      - Can I include line items when fetching a purchase order?
      instructions:
      - text: Get purchase order {purchaseOrderId}.
        slots:
          purchaseOrderId: path.purchaseOrderId
      - text: Show purchase order {purchaseOrderId} with line items {withItems}.
        slots:
          purchaseOrderId: path.purchaseOrderId
          withItems: query.withItems
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/purchase-orders/{purchaseOrderId}/cancel'].post
  update:
    x-apievangelist-phrasing:
      intent: Cancel a purchase order
      effect: destructive
      questions:
      - How do I cancel a purchase order that hasn't been paid yet?
      - Can I cancel a purchase order by its ID?
      instructions:
      - text: Cancel purchase order {purchaseOrderId}.
        slots:
          purchaseOrderId: path.purchaseOrderId
      - text: Cancel purchase order {purchaseOrderId} and return the outcome.
        slots:
          purchaseOrderId: path.purchaseOrderId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/purchase-orders/{purchaseOrderId}/close'].post
  update:
    x-apievangelist-phrasing:
      intent: Close a purchase order
      effect: write
      questions:
      - How do I close a purchase order so it can't be changed?
      - Can I close a purchase order by its ID?
      instructions:
      - text: Close purchase order {purchaseOrderId}.
        slots:
          purchaseOrderId: path.purchaseOrderId
      - text: Close purchase order {purchaseOrderId} so no further changes are allowed.
        slots:
          purchaseOrderId: path.purchaseOrderId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/purchase-orders/{purchaseOrderId}/document'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a purchase order document
      effect: read
      questions:
      - Where do I download the PDF of a purchase order?
      - How long is a purchase order document URL valid?
      instructions:
      - text: Get the document for purchase order {purchaseOrderId}.
        slots:
          purchaseOrderId: path.purchaseOrderId
      - text: Download the PDF of purchase order {purchaseOrderId}.
        slots:
          purchaseOrderId: path.purchaseOrderId
      method: generated
      generated: '2026-11-20'

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/spendesk-purchase-orders-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.