Typeform Responses API doesn't return options with no answer | Community
Skip to main content
Answered

Typeform Responses API doesn't return options with no answer


I’m trying to achieve something like the screenshot below:
 


I'm currently using the Typeform Responses API at `https://api.typeform.com/forms/{form_id}/responses` to fetch all responses. Currently, Typeform only provides responses for the “Forward in time --->" option and doesn't include the "<--- Back in time" option in the results. Is there a way to include options with zero responses in the output so that it matches the displayed image above?
​​​​​​

Best answer by Liz

Hi @eaudu Happy little Friday! The Responses API only includes responses provided by that respondent, so if they didn’t provide that answer, I’m afraid the API wouldn’t include that. 

Out of curiosity, are you trying to build a report outside of Typeform similar to our Typeform one (hence the need for responses regardless of the actual answer)? 

View original

4 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • Answer
  • October 19, 2023

Hi @eaudu Happy little Friday! The Responses API only includes responses provided by that respondent, so if they didn’t provide that answer, I’m afraid the API wouldn’t include that. 

Out of curiosity, are you trying to build a report outside of Typeform similar to our Typeform one (hence the need for responses regardless of the actual answer)? 


  • Author
  • Explorer
  • 3 replies
  • October 19, 2023

Hi @Liz . Thank you for your response. Yes, I’m trying to build something similar to Typeform report outside of Typeform.


  • Author
  • Explorer
  • 3 replies
  • October 19, 2023

@Liz I’m curious to know how Typeform was able to implement what I have in the screenshot above. I would greatly appreciate any assistance or insights on this matter. Thank you.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • October 19, 2023

Hi @eaudu Ah got it - good to know! I’ll share that information/use case with the product team. 

While it’s not possible to create something like this exactly with the API since it doesn’t show responses not submitted, would you be able to use a service such as Document Studio to create these reports? 


Reply