Obtaining companyId


I would like to ask you for a confirmation whether I understand it correctly or not.
When I’m creating an app action for Person in Details View, I’m redirected to my URL address and Pipedrive adds something like:

CompanyId is an acc ID from Pipedrive where this action has happened. Now to send this data to a proper account in my system, I have to find an account in my app with a matching companyId from Pipedrive. How can I obtain it? Is it a companyID that I can receive from sending a GET request to “https://api-proxy.pipedrive.com/users/me” during OAuth and installations steps after I exchange tokens (using 1h valid token I get)?

Hey Majk,

Yes, it would be the same ID you get from that request under "company_id"

Thanks for the confirmation!