Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Make raw requests on Xero Node.js SDK

Started by José Manuel Alvarez -   in API Endpoints

Hi!

How can I make raw requests on Xero using Node.js?

I'm currently using a Partner API and I want to specify URLs for my requests like https://api.xero.com/api.xro/2.0/Organisation.

Also, the xero-node SDK only supports the Accounting API and I want to use the Bank Feeds API (https://api.xero.com/bankfeeds.xro/1.0/) and the Xero HQ API (https://api.xero.com/xero.hq/1.0/). This is the main reason I want to use URLs for these endpoints.
Hello!

If you are using xero-node v3, you can specify urls in the get/post/put methods on apiClient.oauth1Client. There's more information and examples linked in the readme: https://github.com/XeroAPI/xero-node#what-about-endpoints-not-in-the-package-yet.

Warm regards,
Amy
 

Amy Martin (Xero Staff)