Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

API Authentication: NodeJS Private App

Started by Easy Forms -   in API Authentication

Hi there,

My apologies for creating another API Authentication related topic. I am trying to use the Payroll - NZ API and integrate with a NodeJS app.

I can't use the Xero indicated Wrapper 'xero-node' because it only has support for the Accounting API (unless I've missed something somewhere).

I've looked for documentation on how to authenticate for Xero's private apps but haven't been able to find specific solutions. I have a consumer key that according to:


is to be used as an access token in private apps but I have no clue how to pass this in a request to the API? and are there other things I have to do?

Help is greatly appreciated ( also if I may suggest a moderator please make this topic sticky (if possible) for the benefit of all ).