Xero API 401 unauthorized when retrieving Accounts API endpoint

Viewed 1024

I am currently trying to retrieve the account details for the list of accounts using the following API endpoint : https://api.xero.com/api.xro/2.0/Accounts.

I have the following scopes included:
openid profile email accounting.transactions accounting.reports.read accounting.contacts.read.

I am however receiving the following error:

    [Title] => Unauthorized   
    [Status] => 401   
    [Detail] => AuthorizationUnsuccessful   

Thanks

1 Answers
Related