Xero Custom API Request Auth Failure

Status: Open · Asked by kevin.boulware on · 0 views

kevin.boulware — Question ·

I am attempting create a custom API request to Xero using "Xero Custom API Request". The standard Xero API requests work fine with the same connection.
I am wondering if it has to do with the fact that there is no way to specify the Organization ID in the Custom API Request. All the others require this selection. I attempted to add the Organization as a parameter, but that did not work.

Arshil Ahmad — Reply ·

Hi @kevin.boulware,

Could you please share the API documentation and the cURL command for the endpoint you are trying to execute?

Pabblymember11 — Reply ·

Hey @kevin.boulware

In your custom API request, you need to pass the `xero-tenant-id` for the organization in your header to ensure the authentication works correctly.

I have corrected it, and now the action step is successfully retrieving the account in the response.

amnaahmed — Reply ·
Hey @kevin.boulware

In your custom API request, you need to pass the `xero-tenant-id` for the organization in your header to ensure the authentication works correctly.

I have corrected it, and now the action step is successfully retrieving the account in the response.


i am also facing same issue, How to get tenat id from xero and should i include it in headers

Back to all forum threads · Log in to reply