TypeScript integration
import Xero_node_oauth2_app from 'xero-node-oauth2-app'; const client = new Xero_node_oauth2_app({ accessToken: "YOUR_ACCESS_TOKEN" });
curl \ -H "Authorization: Bearer $ACCESS_TOKEN" \ https://api.xero.com/api.xro/2.0/Items
curl \ -H "Authorization: Bearer $ACCESS_TOKEN" \ https://api.xero.com/api.xro/2.0/Users
curl \ -H "Authorization: Bearer $ACCESS_TOKEN" \ https://api.xero.com/api.xro/2.0/Quotes