function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
manikandan n 3manikandan n 3 

How to get organization Name from REST API

Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

You need to query Organization (https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_organization.htm) object via API to get Organization name.
https://na93.salesforce.com/services/data/v43/query?q=SELECT+Name+FROM+Organization

Please refer to the below links which might help you further with the above requirement.

https://salesforce.stackexchange.com/questions/104965/how-do-get-company-work-profile-through-salesforce-api

https://salesforce.stackexchange.com/questions/207391/rest-api-salesforce-get-company-information

https://stackoverflow.com/questions/15010241/getting-the-organization-name-from-the-force-com-identity-service

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
Deepali KulshresthaDeepali Kulshrestha
Hi Manikandan,

Greetings to you!

Please go through below links to get organization Name from REST API:

https://documentation.commvault.com/commvault/v11_sp15/article?p=92475.htm
https://stackoverflow.com/questions/15010241/getting-the-organization-name-from-the-force-com-identity-service
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com