How to determine which department KB articles are in?

How to determine which department KB articles are in?

tl;dr Is there any way I can tell what department an article is in from the List Articles API endpoint ( https://desk.zoho.com/DeskAPIDocument#Articles_Listarticles)? 

Hi everyone,

I'm using the Zoho Desk API to integrate our knowledge base into our own web systems.

We have two departments in our organization - call them support1 and support2. Articles in those departments are located at support1.example.com/... and support2.example.com.

I have an index page with all of our articles, as well as individual pages for each article. For the index page, I'm using the endpoint /api/v1/articles ( https://desk.zoho.com/DeskAPIDocument#Articles_Listarticles). For the individual article pages, I'm using /api/v1/articles/{article_id} ( https://desk.zoho.com/DeskAPIDocument#Articles#Articles_Getarticle).

The List Articles endpoint isn't returning the department ID for each of the tickets. In addition, the portalURL field it returns is prefixed with support1.example.com for articles in both departments, meaning articles in support2 have the incorrect link, and I have no way to differentiate between the two.

The Get Article endpoint works fine, and returns the departmentID, but of course I don't want to make a request for every article every time I go to the index page.

Please let me know if I'm not making any sense, and thank you in advance!

    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