Spendesk · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Spendesk Public Expense categories API

12 actions 12 updates phrasing extends openapi/spendesk-expense-categories-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 12

$.info
$.paths['/v1/expense-categories'].get
$.paths['/v2/expense-category-fields'].get
$.paths['/v2/expense-category-fields'].post
$.paths['/v2/expense-category-fields/{fieldId}'].get
$.paths['/v2/expense-category-fields/{fieldId}'].delete
$.paths['/v2/expense-category-fields/{fieldId}'].patch
$.paths['/v2/expense-category-fields/{fieldId}/categories'].get
$.paths['/v2/expense-category-fields/{fieldId}/categories'].post
$.paths['/v2/expense-category-fields/{fieldId}/categories/{categoryId}'].get
$.paths['/v2/expense-category-fields/{fieldId}/categories/{categoryId}'].delete
$.paths['/v2/expense-category-fields/{fieldId}/categories/{categoryId}'].patch

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 Expense categories API
  version: 1.0.0
extends: openapi/spendesk-expense-categories-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: 11
- target: $.paths['/v1/expense-categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List expense categories
      effect: read
      questions:
      - What expense categories are configured for my company?
      - How long is expense category data cached?
      instructions:
      - text: List all expense categories.
      - text: Show expense categories {ids}.
        slots:
          ids: query.ids
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields'].get
  update:
    x-apievangelist-phrasing:
      intent: List expense category fields
      effect: read
      questions:
      - Which expense category fields does my company have?
      - Can I see the field settings for a category field?
      instructions:
      - text: List expense category fields.
      - text: Show the expense category field for company {company}.
        slots:
          company: header.X-Company-Id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an expense category field
      effect: write
      questions:
      - How do I add a new expense category field?
      - Can I make a category field mandatory or splittable?
      instructions:
      - text: Create an expense category field that is required.
      - text: Create an expense category field with required {isRequired} and splittable {isSplittable}.
        slots:
          isRequired: requestBody.isRequired
          isSplittable: requestBody.isSplittable
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields/{fieldId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an expense category field
      effect: read
      questions:
      - What settings does a particular expense category field have?
      - Can I look up one category field by ID?
      instructions:
      - text: Get expense category field {fieldId}.
        slots:
          fieldId: path.fieldId
      - text: Show the settings of category field {fieldId}.
        slots:
          fieldId: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields/{fieldId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an expense category field
      effect: destructive
      questions:
      - How do I remove an expense category field?
      - What happens if I delete a category field?
      instructions:
      - text: Delete expense category field {fieldId}.
        slots:
          fieldId: path.fieldId
      - text: Remove the category field {fieldId}.
        slots:
          fieldId: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields/{fieldId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an expense category field
      effect: write
      questions:
      - Can I change whether a category field is required?
      - Is it possible to make an existing category field splittable?
      instructions:
      - text: Set category field {fieldId} required to {isRequired}.
        slots:
          fieldId: path.fieldId
          isRequired: requestBody.isRequired
      - text: Make category field {fieldId} splittable {isSplittable}.
        slots:
          fieldId: path.fieldId
          isSplittable: requestBody.isSplittable
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields/{fieldId}/categories'].get
  update:
    x-apievangelist-phrasing:
      intent: List categories of a category field
      effect: read
      questions:
      - What expense categories belong to a category field?
      - Can I page through a category field's categories?
      instructions:
      - text: List categories of field {fieldId}.
        slots:
          fieldId: path.fieldId
      - text: Show {limit} categories for field {fieldId}.
        slots:
          limit: query.limit
          fieldId: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields/{fieldId}/categories'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an expense category
      effect: write
      questions:
      - Can I add a new expense category to a field?
      - Can an expense category be linked to cost centers?
      instructions:
      - text: Create expense category {name} on field {fieldId}.
        slots:
          name: requestBody.name
          fieldId: path.fieldId
      - text: Create category {name} on field {fieldId} linked to cost centers {costCenters}.
        slots:
          name: requestBody.name
          fieldId: path.fieldId
          costCenters: requestBody.costCenters
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields/{fieldId}/categories/{categoryId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an expense category
      effect: read
      questions:
      - What cost centers is a particular category linked to?
      - Can I look up one expense category by ID?
      instructions:
      - text: Get category {categoryId} in field {fieldId}.
        slots:
          categoryId: path.categoryId
          fieldId: path.fieldId
      - text: Show the cost centers for category {categoryId} on field {fieldId}.
        slots:
          categoryId: path.categoryId
          fieldId: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields/{fieldId}/categories/{categoryId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Archive an expense category
      effect: destructive
      questions:
      - How do I archive an expense category?
      - Does archiving a category remove it from the field?
      instructions:
      - text: Archive category {categoryId} in field {fieldId}.
        slots:
          categoryId: path.categoryId
          fieldId: path.fieldId
      - text: Remove category {categoryId} from field {fieldId}.
        slots:
          categoryId: path.categoryId
          fieldId: path.fieldId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/expense-category-fields/{fieldId}/categories/{categoryId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an expense category
      effect: write
      questions:
      - Can I rename an existing expense category?
      - Is it possible to change which cost centers a category is linked to?
      instructions:
      - text: Rename category {categoryId} in field {fieldId} to {name}.
        slots:
          categoryId: path.categoryId
          fieldId: path.fieldId
          name: requestBody.name
      - text: Set cost centers of category {categoryId} on field {fieldId} to {costCenters}.
        slots:
          categoryId: path.categoryId
          fieldId: path.fieldId
          costCenters: requestBody.costCenters
      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-expense-categories-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.