Xero · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Xero Files API
19 actions
19 updates
phrasing
extends
openapi/xero-files-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Xero's API. It is a proposal applied on top of the contract, not a document Xero publishes.
What the actions change
x-apievangelist-phrasing
Targets 19 · first 16 shown; the file carries all of them
$.info
$.paths['/Files'].get
$.paths['/Files'].post
$.paths['/Files/{FileId}'].get
$.paths['/Files/{FileId}'].put
$.paths['/Files/{FileId}'].delete
$.paths['/Files/{FolderId}'].post
$.paths['/Files/{FileId}/Content'].get
$.paths['/Files/{FileId}/Associations'].get
$.paths['/Files/{FileId}/Associations'].post
$.paths['/Files/{FileId}/Associations/{ObjectId}'].delete
$.paths['/Associations/{ObjectId}'].get
$.paths['/Associations/Count'].get
$.paths['/Folders'].get
$.paths['/Folders'].post
$.paths['/Folders/{FolderId}'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Xero Files API
version: 1.0.0
extends: openapi/xero-files-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-15'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 18
- target: $.paths['/Files'].get
update:
x-apievangelist-phrasing:
intent: List files in the Files app
effect: read
questions:
- Which files are in my Xero Files account?
- Can I sort and page through my files?
instructions:
- text: List all files in Files.
- text: Show files sorted by {sort} {direction}, {pagesize} per page.
slots:
sort: query.sort
direction: query.direction
pagesize: query.pagesize
method: generated
generated: '2026-11-15'
- target: $.paths['/Files'].post
update:
x-apievangelist-phrasing:
intent: Upload a file to the Files inbox
effect: write
questions:
- How do I upload a scanned invoice into the Files inbox?
- Can I upload a file to a specific folder instead of the inbox?
instructions:
- text: Upload {name} ({filename}) to the inbox.
slots:
name: requestBody.name
filename: requestBody.filename
- text: Add {name} as a new file in the inbox with MIME type {mimeType}.
slots:
name: requestBody.name
mimeType: requestBody.mimeType
method: generated
generated: '2026-11-15'
- target: $.paths['/Files/{FileId}'].get
update:
x-apievangelist-phrasing:
intent: Get a file by ID
effect: read
questions:
- What are the details of one file in Files?
- Can I look up a file by its unique file ID?
instructions:
- text: Get file {FileId}.
slots:
FileId: path.FileId
- text: Show the details of file {FileId}.
slots:
FileId: path.FileId
method: generated
generated: '2026-11-15'
- target: $.paths['/Files/{FileId}'].put
update:
x-apievangelist-phrasing:
intent: Update a file's properties
effect: write
questions:
- Can I change the name or folder of an existing file?
- Is it possible to update a file's MIME type or size?
instructions:
- text: Rename file {FileId} to {Name}.
slots:
FileId: path.FileId
Name: requestBody.Name
- text: Move file {FileId} into folder {FolderId}.
slots:
FileId: path.FileId
FolderId: requestBody.FolderId
method: generated
generated: '2026-11-15'
- target: $.paths['/Files/{FileId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a file
effect: destructive
questions:
- How do I delete a file from Files?
- Can I remove a file I uploaded by mistake?
instructions:
- text: Delete file {FileId}.
slots:
FileId: path.FileId
- text: Remove the file {FileId} from Files.
slots:
FileId: path.FileId
method: generated
generated: '2026-11-15'
- target: $.paths['/Files/{FolderId}'].post
update:
x-apievangelist-phrasing:
intent: Upload a file to a folder
effect: write
questions:
- Can I save an uploaded file directly into a folder?
- What's the way to file a document into a specific folder?
instructions:
- text: Upload {name} ({filename}) into folder {FolderId}.
slots:
name: requestBody.name
filename: requestBody.filename
FolderId: path.FolderId
- text: Save {name} in folder {FolderId} with MIME type {mimeType}.
slots:
name: requestBody.name
FolderId: path.FolderId
mimeType: requestBody.mimeType
method: generated
generated: '2026-11-15'
- target: $.paths['/Files/{FileId}/Content'].get
update:
x-apievangelist-phrasing:
intent: Download a file's content
effect: read
questions:
- How do I download the actual content of a file?
- Can I fetch the bytes of a file in Files?
instructions:
- text: Download the content of file {FileId}.
slots:
FileId: path.FileId
- text: Get the bytes of file {FileId}.
slots:
FileId: path.FileId
method: generated
generated: '2026-11-15'
- target: $.paths['/Files/{FileId}/Associations'].get
update:
x-apievangelist-phrasing:
intent: List what a file is attached to
effect: read
questions:
- Which invoices or contacts is a file attached to?
- What associations exist for a given file?
instructions:
- text: Show the associations of file {FileId}.
slots:
FileId: path.FileId
- text: List every object file {FileId} is attached to.
slots:
FileId: path.FileId
method: generated
generated: '2026-11-15'
- target: $.paths['/Files/{FileId}/Associations'].post
update:
x-apievangelist-phrasing:
intent: Attach a file to an invoice or contact
effect: write
questions:
- How do I attach a file to an invoice?
- Can I mark a file as sent with the document it's attached to?
instructions:
- text: Attach file {FileId} to {ObjectType} {ObjectId}.
slots:
FileId: path.FileId
ObjectType: requestBody.ObjectType
ObjectId: requestBody.ObjectId
- text: Attach file {FileId} to {ObjectType} {ObjectId} with send-with-document set to {SendWithObject}.
slots:
FileId: path.FileId
ObjectType: requestBody.ObjectType
ObjectId: requestBody.ObjectId
SendWithObject: requestBody.SendWithObject
method: generated
generated: '2026-11-15'
- target: $.paths['/Files/{FileId}/Associations/{ObjectId}'].delete
update:
x-apievangelist-phrasing:
intent: Detach a file from an invoice or contact
effect: destructive
questions:
- How do I remove a file from an invoice?
- Can I unattach a file from a contact?
instructions:
- text: Detach file {FileId} from {ObjectType} {ObjectId}.
slots:
FileId: path.FileId
ObjectType: path.ObjectId
ObjectId: path.ObjectId
- text: Unlink file {FileId} from {ObjectType} {ObjectId}.
slots:
FileId: path.FileId
ObjectType: path.ObjectId
ObjectId: path.ObjectId
method: generated
generated: '2026-11-15'
- target: $.paths['/Associations/{ObjectId}'].get
update:
x-apievangelist-phrasing:
intent: List files attached to an invoice or contact
effect: read
questions:
- Which files are attached to a particular invoice?
- Can I see all attachments for a contact?
instructions:
- text: List the files attached to {ObjectType} {ObjectId}.
slots:
ObjectType: path.ObjectId
ObjectId: path.ObjectId
- text: Show every attachment on {ObjectType} {ObjectId}.
slots:
ObjectType: path.ObjectId
ObjectId: path.ObjectId
method: generated
generated: '2026-11-15'
- target: $.paths['/Associations/Count'].get
update:
x-apievangelist-phrasing:
intent: Count files attached to several objects
effect: read
questions:
- How many files are attached to a list of invoices?
- Can I get a total file attachment count across several objects?
instructions:
- text: Count the files attached to {ObjectIds}.
slots:
ObjectIds: query.ObjectIds
- text: Tell me how many attachments exist across {ObjectIds}.
slots:
ObjectIds: query.ObjectIds
method: generated
generated: '2026-11-15'
- target: $.paths['/Folders'].get
update:
x-apievangelist-phrasing:
intent: List folders in Files
effect: read
questions:
- What folders exist in my Files account?
- Can I sort the folder list?
instructions:
- text: List all folders in Files.
- text: Show folders sorted by {sort}.
slots:
sort: query.sort
method: generated
generated: '2026-11-15'
- target: $.paths['/Folders'].post
update:
x-apievangelist-phrasing:
intent: Create a folder
effect: write
questions:
- How do I create a new folder in Files?
- Can I create a folder that receives emailed files?
instructions:
- text: Create a folder named {Name}.
slots:
Name: requestBody.Name
- text: Create a folder {Name} with email {Email} for receiving files.
slots:
Name: requestBody.Name
Email: requestBody.Email
method: generated
generated: '2026-11-15'
- target: $.paths['/Folders/{FolderId}'].get
update:
x-apievangelist-phrasing:
intent: Get a folder by ID
effect: read
questions:
- What are the details of one folder?
- Can I look up a folder by its unique folder ID?
instructions:
- text: Get folder {FolderId}.
slots:
FolderId: path.FolderId
- text: Show the details of folder {FolderId}.
slots:
FolderId: path.FolderId
method: generated
generated: '2026-11-15'
- target: $.paths['/Folders/{FolderId}'].put
update:
x-apievangelist-phrasing:
intent: Rename or update a folder
effect: write
questions:
- Can I rename an existing folder?
- Is it possible to change a folder's email address?
instructions:
- text: Rename folder {FolderId} to {Name}.
slots:
FolderId: path.FolderId
Name: requestBody.Name
- text: Set the email address of folder {FolderId} to {Email}.
slots:
FolderId: path.FolderId
Email: requestBody.Email
method: generated
generated: '2026-11-15'
- target: $.paths['/Folders/{FolderId}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a folder
effect: destructive
questions:
- How do I delete a folder?
- Can I remove a folder I no longer use?
instructions:
- text: Delete folder {FolderId}.
slots:
FolderId: path.FolderId
- text: Remove the folder {FolderId} from Files.
slots:
FolderId: path.FolderId
method: generated
generated: '2026-11-15'
- target: $.paths['/Inbox'].get
update:
x-apievangelist-phrasing:
intent: Get the Files inbox
effect: read
questions:
- Where are the files I emailed to the inbox?
- What's in my Files inbox?
instructions:
- text: Show the Files inbox.
- text: Get the inbox folder for tenant {xero-tenant-id}.
slots:
xero-tenant-id: header.xero-tenant-id
method: generated
generated: '2026-11-15'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/xero-files-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.