Login to your Freshdesk account.
Domain/Helpdesk name can be obtained from the URL as shown below.
Navigate to the top right corner and click on the My Account icon.
Open the profile settings page.
Obtain the API key by completing the CAPTCHA check as shown.