Using Authentication Token
The Zoho CRM API is available in all editions of Zoho CRM. To use the API, you'll require the Zoho CRM Authentication Token from your CRM account. Please make sure that you have the permission to access the API service. If you do not have permission, please contact your CRM administrator.
To generate the Auth Token, you need to send an authentication request to Zoho Accounts using the URL format below. Make sure that you are a confirmed user, else while generating the Auth Token the you might receive an error - "ACCOUNT_REGISTRATION_NOT_CONFIRMED".
To generate Auth Token in API mode, do the following:
- Log in to Zoho CRM.
- Open https://accounts.zoho.eu .
- In the Zoho Accounts Home page, click Two Factor Authentication.
- In the Two Factor Authentication page, click on the Manage Application Specific Passwords.
- In the Application Specific Passwords pop-up, do the following:
- Enter the Device or App Name
- Enter the current password
- Click Generate. You will receive the new application-specific password with spaces.
- Remove the spaces in password and include in the following API mode URL to generate the Auth Token.
Parameters to be passed along with this URL are:
|EMAIL_ID||Specify your Zoho CRM Username or Email ID|
|scope||Specify the value as ZohoCRM/crmapi|
|PASSWORD||Specify your Zoho CRM Password|
|DISPLAY_NAME||Specify the Application Name that describes the purpose of using this AuthToken. For example, "MailChimp" or "Google Apps"|
For more information, please refer Two factor Authentication help page.
To generate Auth Token in browser mode, do the following:
- Log in to Zoho CRM.
- Go to Setup > Developer Space > APIs > CRM API.
- Click the Settings icon and click the Authentication Token Generation link.
- Now enter your Application Name (for example, "MailChimp") for which you want to generate Auth Token.Note: Application Name is required to easily identify the purpose of generating the Auth Token. It is used to differentiate Auth Token generation accross different applications.
- The Auth Tokens cannot be viewed in your account after it is created. Please save the token when it is generated.
- User Auth Token must be kept confidential.
- Exposing it to public may lead to data theft, loss or corruption.
#Wed Feb 29 03:07:33 PST 2012
- The Auth Token can be used in all your API calls. You can also see the URL format under Setup > Developer Space > APIs.
- You need to be logged into your CRM account to use the Browser Mode.
Here's an example to fetch records:
You can delete or regenerate the Auth Token generated for your account from the 'My Zoho Account' Page.
- Log in to Zoho CRM
- Open [Username] > My Zoho Account
- In the My Zoho Account page, click Settings > Active Authtokens
In this page, you can also Remove or Regenerate Auth Tokens.
- For Security purposes, you would not be able to view the existing Auth Tokens. Please save the Auth Token as and when it is generated.
- Removing an Auth Token will delete the token permanently.
- If you regenerate Auth Token, update your program with the new token.
Points to Remember
- The Auth Token is user-specific and is a permanent token.
- On deletion, the existing token will be deleted permanently. The new token has to be replaced in all API calls.
- The Auth Token of a user's account will become invalid if the user is deactivated.
- We notify CRM users (Users who generated the Auth Token) if your organization exceeds the API limit.
- In case, your application requires more than the upper limit, your additional API requests will not be processed. To avoid data transfer issues, please assess your API requirements well in advance. If you need any help, please contact our Support at firstname.lastname@example.org