ID on Wave site vs. what is returned through GraphQL

twestricktwestrick Member Posts: 9

I am wondering how to correlate IDs being used in Wave's GraphQL API vs. what I am seeing in Wave itself (either in my account or in data exports). It would appear that the API uses/returns a hashed or encrypted IDs.

My question is if there is way to convert IDs that the API returns to the actual ID.

An example is with creating a transaction through the API (MoneyTransactionCreateInput).

The API returns:


Where as the actual ID is:


Also, the business ID and chart of account IDs are different.


  • Linda_ByrneLinda_Byrne Member Posts: 13 admin

    Hi @twestrick we base64 encode the id to allow us to easily represent multiple pieces of information in the id. If you base64 decode that id you will see that we have encoded both a business id and a transaction id within that text.
    Hope this helps

  • StepanStepan Member Posts: 9 admin

    Linda's answer is correct in this case, however, we cannot guarantee that it works for all resources (we can use different resource ids in URLs and in GraphQL IDs.

  • twestricktwestrick Member Posts: 9

    Awesome! base64 was one encoding I didn't try. Thank you for the help!

Sign In or Register to comment.