Jeet Agrawal

Jeet Agrawal

  • 1.5k
  • 172
  • 276

Xero API Integration - How to get tenant id ?

Jan 3 2024 4:24 AM

We have created a demo company and got the Client id and client secret id. We have generated the Auth code using postman tool. We are trying to further hit the other Invoice related APIs like 'create contact', 'invoice' etc.
We have tried calling other APIs (create invoice, contact etc) from Xero API Explorer. We have successfully done that, In API Explorer there are by default authorization code and Tenant id.
But we are not able to get the tenant id from our Demo company of Xero portal.
Please help us to get the tenant id ??


Answers (2)