Get the Id of the organization

I am making the app panel which opens in org detail view and the data i want to show depends on the id of the org. and there is no api to get the id of the opened org. How can I get the id ?

You would get this information from the Parameters that are added to the API endpoint’s URL