Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Convert org callback parameter to OrgansationID

Started by Matt Wilson -   in API Authentication

The OAuth callback includes the org= parameter, which appears be a (base64?) representation of the unique OrganisationID UUID/GUID, but as yet I haven't been able to map from one to the other consistently. Can anybody point me in the right direction? If possible I'd rather /not/ have to call the organisations endpoint to retrieve the associated OrganisationID.