How to get information about to whom a token belongs to?

How to get information about to whom a token belongs to?

Zoho doesn't share any user information in /oauth/v2/token/response.
To get information about a user you need to make a GET request to the api  https://profile.zoho.com/api/v1/user/self/profile with the header name Authorization  and header value as Zoho-oauthtoken<space><access token value you got>.
While generating tokens include the scope zohoprofile.userinfo.read in the scope parameter for /oauth/v2/auth.


    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








                                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

                                      Zoho Desk Resources

                                      • Desk Community Learning Series


                                      • Digest


                                      • Functions


                                      • Meetups


                                      • Kbase


                                      • Resources


                                      • Glossary


                                      • Desk Marketplace


                                      • MVP Corner


                                      • Word of the Day


                                        Zoho Marketing Automation

                                          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 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







                                                                                            You are currently viewing the help articles of Sprints 1.0. If you are a user of 2.0, please refer here.

                                                                                            You are currently viewing the help articles of Sprints 2.0. If you are a user of 1.0, please refer here.



                                                                                                  • Related Articles

                                                                                                  • What to do when error occurred during access token generation?

                                                                                                    The endpoint /oauth/v2/token supports only POST request. Request you hit directly from the browser is a GET request. Since token generation requests contain sensitive information like client secret and refresh tokens, GET request is not allowed. ...
                                                                                                  • How to automate OAuth token generation without browser intervention?

                                                                                                    Case 1 When you develop applications to source your own information, you won't have any proper redirection URLs. In that case, you can use Self Clients to get an authorization grant code. This one-time code can exchanged for an access token and a ...
                                                                                                  • I'm unable to find the refresh token in the HTTP response I received.

                                                                                                    Follow the below steps to generate refresh tokens if you find it is missing in the HTTP response: To generate a refresh token for the first time, include  access_type=offline in /oauth/v2/auth to get refresh token along with the access token as a ...
                                                                                                  • How do I edit my personal details?

                                                                                                    Go to accounts.zoho.com (or) open the profile panel from your app, then click My Account. Click Profile, then click Personal Information. Click Edit and update your details. Click Save. If you're looking to change your payment details, Go to ...
                                                                                                  • How do I upload a profile picture for my Zoho account?

                                                                                                    Go to accounts.zoho.com (or) open the profile panel from your app, then click My Account. Click Profile, then click Personal Information. Click on the profile picture next to your name. Click Upload New. Browse and select a photo. Select who can view ...
                                                                                                    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