Skip to main content
Answered

Get only specific fields via request


Hi! My question is, can we get only specific fields while making a request to intercom API? What I mean is can we somehow mention that we need only one or a couple of fields? For example by adding “&fields=type, total_count” to the request URI for getting conversations. 
Getting all fields for all conversations is just absolutely not optimal, especially considering the body part of the conversation. Moreover, the more conversations we will get, the heavier each update of this date will be. 

Best answer by Eden

Hi @Dmytro Horodetskyi 👋 Eden from the support engineer team here.

 

At the moment, it isn’t possible to extract only specific fields when making a request to the REST API. When retrieving information, all data from the endpoint you are requesting from will be returned and you will need to parse that data on your end. I can see how this would be useful though, this is a good feature request for the team! 👍

View original
Did this topic help you find an answer to your question?

2 replies

Eden
Employee
Forum|alt.badge.img
  • Premier Customer Support Engineer
  • 121 replies
  • Answer
  • October 31, 2023

Hi @Dmytro Horodetskyi 👋 Eden from the support engineer team here.

 

At the moment, it isn’t possible to extract only specific fields when making a request to the REST API. When retrieving information, all data from the endpoint you are requesting from will be returned and you will need to parse that data on your end. I can see how this would be useful though, this is a good feature request for the team! 👍


​Hi, @Eden! Thank you for your reply. I see, it is unfortunate, but we will handle it as it is. 
I will be waiting with anxiety to see this feature implemented someday so we can optimize our script even better😅

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings