Allow to set ApiAgent header in api calls

Allow to set ApiAgent header in api calls

Hello,

We are going to integrate with Zoho.Subscriptions via API and Webhooks. 

To avoid "events loop", we have to ignore webhook events which was produced by API. Right now we can do it, by property 'event_source', i.e. ignore if event_source=api . 

But what if we need integrate two applications into our Zoho.Subscriptions account, and these both integrations will work with webhooks? In this case, all events will have event_source=api, and applications won't be able determine if webhook-event should be ignored or processed.

Proposed solution: allow set 'ApiAgent' (or other) header in API calls. It can be free-format string. If empty set it to 'api'. And then throw it as 'event_source' property in webhook-events.

Maybe you already have such feature and I just missed it. Then could you give me information how it can be solved?

    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
                                              • Sticky Posts

                                              • Zoho Billing will discontinue support for older browser versions soon

                                                Hello users, Starting from May 15, 2024, Zoho Billing will no longer support the following browser versions: Browsers Version Restrictions Firefox Browser Versions older than 100 Google Chrome Versions older than 100 Microsoft Edge Versions older than
                                              • Introducing Developer Space in Zoho Subscriptions

                                                Hello devs! At Zoho Subscriptions, we're constantly looking for ways to empower the developer community. Our goal is to provide you with the tools you need to integrate Zoho Subscriptions with your other platforms, and we also want to make it easy to


                                              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