How to get the total number of conversation threads from the `/conversations/threads` API?
As far as I can see the only way to do this is to recursively call the next page until you run out of pages but there must be a simpler way to do this?
As far as I can tell, you're right -- the only way to do this via API is via the GET /conversations/v3/conversations/threads endpoint, paging through and counting the results as you go. Normally this could be done via the CRM Search API, but it doesn't seem to support Conversation Threads. Sorry this isn't the news you were likely hoping for.
Please let me know if you have any follow-up questions.
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia
As far as I can tell, you're right -- the only way to do this via API is via the GET /conversations/v3/conversations/threads endpoint, paging through and counting the results as you go. Normally this could be done via the CRM Search API, but it doesn't seem to support Conversation Threads. Sorry this isn't the news you were likely hoping for.
Please let me know if you have any follow-up questions.
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia
Thanks for the response, no problem - I wanted to make sure I wasn't missing something obvious as it feels like this should be some top level information in the API.
Do you know if there are any plans to add the Conversation Threads to the Search API as this would be really useful?
Hi @Cerwind👋 Thanks for your question. Let's invite some of our community experts to the converstaion — hey @Teun@dsmarion@zach_threadint, do you have any recent experience you can share with @Cerwind?
Thank you very much! — Jaycee
Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success. Don't miss this opportunity to connect and grow—reserve your spot today!
Did you know that the Community is available in other languages? Join regional conversations by changing your language settings !