Spotnana · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Company Offices API

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

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices'].get
$.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices'].post
$.paths['/v2/companies/{companyId}/office-list'].post
$.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices/{officeId}'].get
$.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices/{officeId}'].put
$.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices/{officeId}'].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 Company Offices API
  version: 1.0.0
extends: openapi/spotnana-offices-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices'].get
  update:
    x-apievangelist-phrasing:
      intent: List offices of a legal entity
      effect: read
      questions:
      - Which offices does a particular legal entity have?
      - Can I look up one office by its external ID?
      instructions:
      - text: List offices of legal entity {legalEntityId} in company {companyId}.
        slots:
          legalEntityId: path.legalEntityId
          companyId: path.companyId
      - text: Find the office of {companyId} legal entity {legalEntityId} with external ID {externalId}.
        slots:
          companyId: path.companyId
          legalEntityId: path.legalEntityId
          externalId: query.externalId
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an office
      effect: write
      questions:
      - How do I add a new office for a legal entity?
      - Can I set a tax ID and external ID when creating an office?
      instructions:
      - text: Create office {name} at {address} for legal entity {legalEntityId} in company {companyId}.
        slots:
          name: requestBody.name
          address: requestBody.address
          legalEntityId: path.legalEntityId
          companyId: path.companyId
      - text: Add a new office {name} with tax ID {taxId} in {companyId}, legal entity {legalEntityId}.
        slots:
          name: requestBody.name
          taxId: requestBody.taxId
          companyId: path.companyId
          legalEntityId: path.legalEntityId
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/office-list'].post
  update:
    x-apievangelist-phrasing:
      intent: Search a company's offices
      effect: read
      questions:
      - How do I search all offices of a company by name?
      - Can I sort and page through a company's offices?
      instructions:
      - text: Search offices of company {companyId} for {searchText}.
        slots:
          companyId: path.companyId
          searchText: requestBody.searchText
      - text: List offices of {companyId} matching {filters}, sorted by {sortParams}, page {paginationParams}.
        slots:
          companyId: path.companyId
          filters: requestBody.filters
          sortParams: requestBody.sortParams
          paginationParams: requestBody.paginationParams
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices/{officeId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an office
      effect: read
      questions:
      - How do I look up one office by its ID?
      - What address and tax ID does a specific office have?
      instructions:
      - text: Get office {officeId} of legal entity {legalEntityId} in company {companyId}.
        slots:
          officeId: path.officeId
          legalEntityId: path.legalEntityId
          companyId: path.companyId
      - text: Show the address and tax ID of office {officeId} in {companyId}, legal entity {legalEntityId}.
        slots:
          officeId: path.officeId
          companyId: path.companyId
          legalEntityId: path.legalEntityId
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices/{officeId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an office
      effect: write
      questions:
      - How do I change an office's address or tax ID?
      - Can I rename an existing office?
      instructions:
      - text: Update office {officeId} of legal entity {legalEntityId} in company {companyId} to address {address}.
        slots:
          officeId: path.officeId
          legalEntityId: path.legalEntityId
          companyId: path.companyId
          address: requestBody.address
      - text: Rename office {officeId} in {companyId}, legal entity {legalEntityId}, to {name}.
        slots:
          officeId: path.officeId
          companyId: path.companyId
          legalEntityId: path.legalEntityId
          name: requestBody.name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices/{officeId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an office
      effect: destructive
      questions:
      - How do I remove an office?
      - Can I detach users from an office before deleting it?
      instructions:
      - text: Delete office {officeId} of legal entity {legalEntityId} in company {companyId}.
        slots:
          officeId: path.officeId
          legalEntityId: path.legalEntityId
          companyId: path.companyId
      - text: Remove office {officeId} from {companyId}, legal entity {legalEntityId}, detaching users if {detachUsers}.
        slots:
          officeId: path.officeId
          companyId: path.companyId
          legalEntityId: path.legalEntityId
          detachUsers: query.detachUsers
      method: generated
      generated: '2026-11-23'

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/spotnana-offices-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.