The FIles API is a RESTful web service and uses the OAuth (v1.0a) protocol to authenticate 3rd party applications.
The Files API provides access to the files, folders, and the association of files within a Xero organisation. It can be used to upload/download files, manage folders and associate files to invoices, contacts, payments etc.
All API applications have access to the Files API.
The files API will accept requests in either JSON or XML. Responses will be in JSON by default but XML can be requested by setting the “Accept” value in the http header to “application/xml” when making a request.
The base url for all files endpoints is https://api.xero.com/files.xro/1.0/
e.g. The URL for the Folders endpoint is https://api.xero.com/files.xro/1.0/Folders
The Files API is currently version 1.0 and may be updated separately to the Core API. Please see the Files API release notes for the latest improvements.
The API Previewer does not currently support the Files API