Hello, is there any endpoint i can query to get the company_id associated to a company?
It seems i need this id to query most of the business central endpoint, but if unfortunately, i can't query that companies endpoint as not all of my users have access to the full company list endpoint, what can i query to get this id following an oauth flow? i wish to add that i already do have the oauth flow working, i can get the environment, the access token , refresh token etc. But i can't get the company id. What endpoint must i then query?