xero.com

These endpoints are specific to Xero Files API

🔑 oauth2 16 endpoints financial
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

pip install xero-python-oauth2-app
pip install xero-python
npm install xero-node-oauth2-app
npm install xero-node
go get github.com/XeroAPI/xerogolang
gem install xero-ruby-oauth2-app
gem install xero-ruby
dotnet add package XeroAPI.Net
composer require xero-php-oauth2-app
composer require xero-php-oauth2
curl examples
Retrieves files
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Files
Retrieves inbox folder
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Inbox
Retrieves folders
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.xero.com/files.xro/1.0/Folders
Endpoints (16 total)
GET
/Files
Retrieves files
GET
/Inbox
Retrieves inbox folder
GET
/Folders
Retrieves folders
GET
/Files/{FileId}
Retrieves a file by a unique file ID
GET
/Folders/{FolderId}
Retrieves specific folder by using a unique folder ID
GET
/Files/{FileId}/Content
Retrieves the content of a specific file
GET
/Associations/{ObjectId}
Retrieves an association object using a unique object ID
GET
/Files/{FileId}/Associations
Retrieves a specific file associations
POST
/Files
Uploads a File
POST
/Folders
Creates a new folder
POST
/Files/{FileId}/Associations
Creates a new file association
PUT
/Files/{FileId}
Update a file
At a glance
Total SDKs10
Languages6
Endpoints16
Authoauth2
Categories1
https://api.xero.com/files.xro/1.0