Need help regarding the token refresh time

Need help regarding the token refresh time

Hello!
I have a website where a costumer can book himself a meeting via Calendly. Once the meeting is booked the costumer information is sent to the Zoho CRM and a lead is created. My website is hosted on Heroku and the Zoho CRM token which i need in order to make a POST request and create a lead is saved on Heroku as an environment variable (config var). 

Right now my problem is that I need to send a new token to Heroku before the 1 hour token time limit expires, and on Heroku every time a cofig var is updated it forces a server restart. This system is less than ideal and I was wondering if there's any solution where I won't need to update the token on Heroku so often. Is there any way to get a token that lasts more than 1 hour? Is there any work around I could implement?

Thank you.

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now