API - Get current company

Hello,

looking at the AirVantage Web Services API I can get a list of partners if I’m logged in using eu.airvantage.net/api/v1/partners.
Is there a similar call to get the current company without passing an ID? The call to get company details requires an ID passed to work.

doc.airvantage.net/av/reference/cloud/API/

Thanks,
Robin

Hi Robin,

You can get the current user’s company by using the API:
GET na.airvantage.net/api/v1/users/current (into the API documentation, click on User in the Account Resources section)

No parameter have to be supplied except access_token.

You will get:

Then you can use the API you found to have more information about this company.

Regards,
Robert

Thanks Robert, that was what I was looking for!