# Xero Files API API

> These endpoints are specific to Xero Files API.

Xero Files API is a finance API from xero.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 16 endpoints.

## At a glance

- Category: [Finance](https://www.openparable.com/apis/category/finance)
- Provider: xero.com
- Authentication: OAuth
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://api.xero.com/files.xro/1.0/
- Documentation: https://developer.xero.com/
- OpenAPI description: https://api.apis.guru/v2/specs/xero.com/xero_files/2.9.4/openapi.json
- Version: 2.9.4
- Specification updated: 2021-02-25

## Example request

```bash
curl -X GET "https://api.xero.com/files.xro/1.0/Files" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Endpoints

- `GET /Associations/{ObjectId}` — Retrieves an association object using a unique object ID
- `GET /Files` — Retrieves files
- `POST /Files` — Uploads a File
- `GET /Files/{FileId}` — Retrieves a file by a unique file ID
- `PUT /Files/{FileId}` — Update a file
- `DELETE /Files/{FileId}` — Deletes a specific file
- `GET /Files/{FileId}/Associations` — Retrieves a specific file associations
- `POST /Files/{FileId}/Associations` — Creates a new file association
- `DELETE /Files/{FileId}/Associations/{ObjectId}` — Deletes an existing file association
- `GET /Files/{FileId}/Content` — Retrieves the content of a specific file
- `GET /Folders` — Retrieves folders
- `POST /Folders` — Creates a new folder
- `GET /Folders/{FolderId}` — Retrieves specific folder by using a unique folder ID
- `PUT /Folders/{FolderId}` — Updates an existing folder
- `DELETE /Folders/{FolderId}` — Deletes a folder
- `GET /Inbox` — Retrieves inbox folder

## Questions

### Does the Xero Files API API need an API key?

Yes. The Xero Files API API uses OAuth authentication; the documentation explains how to get credentials.

### Does the Xero Files API API support HTTPS?

Yes, the Xero Files API API is served over HTTPS.

### How many endpoints does the Xero Files API API have?

Its OpenAPI description lists 16 endpoints in version 2.9.4. All of them are shown on this page.

### What are alternatives to the Xero Files API API?

Other Finance APIs include Stripe, SEC EDGAR Data, Plaid, Fed Treasury, Razorpay IFSC.

## Similar finance APIs

- [Stripe](https://www.openparable.com/apis/stripe): Payment processing, subscriptions, and financial management
- [SEC EDGAR Data](https://www.openparable.com/apis/sec-edgar-data): API to access annual reports of public US companies
- [Plaid](https://www.openparable.com/apis/plaid): Connect with user's bank accounts and access transaction data
- [Fed Treasury](https://www.openparable.com/apis/fed-treasury): U.S. Department of the Treasury Data
- [Razorpay IFSC](https://www.openparable.com/apis/razorpay-ifsc): Indian Financial Systems Code (Bank Branch Codes)
- [Klarna](https://www.openparable.com/apis/klarna): Klarna payment and shopping service
- [Citi](https://www.openparable.com/apis/citi): All Citigroup account and statement data APIs
- [Zoho Books](https://www.openparable.com/apis/zoho-books): Online accounting software, built for your business
- [FRED](https://www.openparable.com/apis/fred): Economic data from the Federal Reserve Bank of St. Louis
- [Polygon](https://www.openparable.com/apis/polygon): Historical stock market data
- [MercadoPago](https://www.openparable.com/apis/mercadopago): Mercado Pago API reference - all the information you need to develop your integrations
- [Open Banking - Payments initiation service](https://www.openparable.com/apis/open-banking-payments-initiation-service): Open Banking - Payments initiation service

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/xero-files (OpenParable). Cite the canonical URL above.
