Zoho Recruit | Generating Tokens

Generating Tokens


Note:  If you’re using the new version of APIs (V2), refer this link. 
OAuth 2.0 requests are usually authenticated with an access token, which is passed as bearer token. To use this access token, you need to construct a normal HTTP request and include it in an authorization header along with the value of bearer.
Note: 
You must use your domain-specific Zoho Accounts URL to generate access and refresh tokens. The domains and their corresponding accounts URLs are listed below:
To generate access and refresh tokens

Make a POST request using the following URL. Replace {Accounts_URL} with your domain-specific Zoho accounts URL when you make the following request.

{Accounts_URL}/oauth/v2/token
Note: For security reasons, pass the below parameters in the body of your request.

Request Parameters

Parameter

Description

grant_type

Enter the value as "authorization_code".

client_id

Enter the client ID obtained from the connected app.

client_secret

Enter the client secret obtained from the connected app.

redirect_uri

Specify the callback URL that you registered during app registration.

code

Enter the grant token generated in the previous step.

If the request is successful, you will receive the following:
{
"access_token": "{access_token}",
"refresh_token": "{refresh_token}",
"api_domain": "
https://www.zohoapis.com/",
"token_type": "Bearer",
"expires_in": 3600
}

Response Parameters  

Parameter

Description

access_token

Access token to access Zoho Recruit APIs.

refresh_token

Refresh token to obtain new access tokens.

expires_in

Time in seconds after which the access token expires.

api_domain

Domain name of the API. Use this domain in your requests to make API calls to Zoho Recruit.

token_type

Type of token obtained. "Bearer" indicates this is an access token.

Calling APIs using your Access Token

This completes the authentication. Once your app receives the access token, send the token in your HTTP authorization header to the Zoho Recruit API with the value "Zoho-oauthtoken {access_token}" for each endpoint (for each request).
Note:
  1. Each access token is only valid for an hour and can only be used for the operations defined in the scope.
  2. The refresh token does not expire. Use it to refresh access tokens when they expire.
  3. You can only generate a maximum of five refresh tokens in a minute.


        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  Create. Review. Publish.

                                                  Write, edit, collaborate on, and publish documents to different content management platforms.

                                                  Get Started Now




                                                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                        Manage your brands on social media


                                                                          • Desk Community Learning Series


                                                                          • Digest


                                                                          • Functions


                                                                          • Meetups


                                                                          • Kbase


                                                                          • Resources


                                                                          • Glossary


                                                                          • Desk Marketplace


                                                                          • MVP Corner


                                                                          • Word of the Day


                                                                          • Ask the Experts


                                                                            Zoho Sheet Resources

                                                                             

                                                                                Zoho Forms Resources


                                                                                  Secure your business
                                                                                  communication with Zoho Mail


                                                                                  Mail on the move with
                                                                                  Zoho Mail mobile application

                                                                                    Stay on top of your schedule
                                                                                    at all times


                                                                                    Carry your calendar with you
                                                                                    Anytime, anywhere




                                                                                          Zoho Sign Resources

                                                                                            Sign, Paperless!

                                                                                            Sign and send business documents on the go!

                                                                                            Get Started Now




                                                                                                    Zoho TeamInbox Resources





                                                                                                              Zoho DataPrep Demo

                                                                                                              Get a personalized demo or POC

                                                                                                              REGISTER NOW


                                                                                                                Design. Discuss. Deliver.

                                                                                                                Create visually engaging stories with Zoho Show.

                                                                                                                Get Started Now








                                                                                                                                    • Related Articles

                                                                                                                                    • Refreshing Access Tokens

                                                                                                                                      Access tokens expire an hour after they are generated. To generate a new access token, use the refresh token you generated earlier. Note:  You must use your domain-specific Zoho Accounts URL to refresh your access token. For ...
                                                                                                                                    • Generating Offer Letters

                                                                                                                                      Creating offer letters doesn’t have to be repetitive or time-consuming. With Zoho Recruit, you can quickly generate professional, accurate, and personalized offer letters using predefined templates and candidate data, so you can move from selection ...
                                                                                                                                    • Generating AI Summaries of Records

                                                                                                                                      Recruiters often switch between multiple tabs and related records to understand the complete context behind a hiring record. Information such as candidate details, job role, interview feedback, notes, emails, assessments, and associated activities ...
                                                                                                                                    • Generating AI Summaries of Notes

                                                                                                                                      Recruiters often use notes to capture important updates, interview observations, candidate preferences, follow-up actions, and internal discussions throughout the hiring process. As records accumulate more notes over time, reviewing each entry ...
                                                                                                                                    • Generating AI Summaries of Emails

                                                                                                                                      Recruiters and hiring teams often rely heavily on email communication throughout the hiring process. Important updates related to interview scheduling, candidate communication, feedback, approvals, and follow-ups are often buried within long email ...
                                                                                                                                      Wherever you are is as good as
                                                                                                                                      your workplace

                                                                                                                                        Resources

                                                                                                                                        Videos

                                                                                                                                        Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                        eBooks

                                                                                                                                        Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                        Webinars

                                                                                                                                        Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                        CRM Tips

                                                                                                                                        Make the most of Zoho CRM with these useful tips.



                                                                                                                                          Zoho Show Resources