Skip to main content

I’m creating a zap that requires a custom http request to Xero as I  have to get access to some nested JSON objects in the request. Is there a way to use our existing Xero connections to get  a current Access Token and use it in the zap python code, or just a way to Authorize the Zap to get the initial tokens. I don’t see a way to get to Xero’s consent screen or use an existing connection when you write a custom request as code or  as a webhook. The Webhook seems to just offer basic authentication. 

Hi @data_etl1 

No there is not a way to use your existing connection. Since the app is using Oauth 2.0 authentication, it would be best to build a custom integration here: https://developer.zapier.com/

 


Thank you GetUWired.  I tried that and kept getting an error . Any suggestions on resolving this. 

 


@data_etl1 

 

Yes, I would follow the instructions here; https://developer.xero.com/documentation/guides/oauth2/auth-flow/#xero-tenants 

 

the refresh token will only be included if you specify the scope offline_access