Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

401 Unauthorized for PayrollAuApi

Started by Joel Seneque -   in API Authentication

I am getting a 401 Unauthorized when I'm trying to access the PayrollAuApi on my php website.
I have no trouble accessing the AccountingApi through the code
The token is there, just not working for the PayrollAuApi.

Me as a user am an Advisor & Payroll Admin on the account.
I can see the data fine when I use the developer explorer, just giving me the error and not coming up at all in the history logs of the App.