Using xero-php-oauth2 with xero.com

PHP integration

Install
composer require xero-php-oauth2
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
SDK on GitHub 📄 API Docs
SDK
xero-php-oauth2
PHP
API
xero.com
xero.com:xero_files
At a glance
Language PHP
Endpoints16
Base URLhttps://api.xero.com/files.xro/1.0