Typeform Responses API - excluded_response_id flag? | Community
Skip to main content
Answered

Typeform Responses API - excluded_response_id flag?


The documents:https://developer.typeform.com/responses/reference/retrieve-responses/bed-sale mentions an excluded_response_id field but the param doesn't seem to be available. In fact it's not showing here.

My use case is to retrieve only the responses that I have not seen yet (aka new responses) and this flag makes perfect sense.

For example:

self.typeform.responses.list(form_id, excludedResponseIds=["<id>",])

The response I get back is

TypeError: list() got an unexpected keyword argument 'excludedResponseIds'

Best answer by picsoung

jackkle234 wrote:

The documents:https://developer.typeform.com/responses/reference/retrieve-responses/bed-sale mentions an excluded_response_id field but the param doesn't seem to be available. In fact it's not showing here.

My use case is to retrieve only the responses that I have not seen yet (aka new responses) and this flag makes perfect sense.

For example:

self.typeform.responses.list(form_id, excludedResponseIds=["<id>",])

The response I get back is

TypeError: list() got an unexpected keyword argument 'excludedResponseIds'

Hey @jackkle234 

Looks like you are using our Python SDK.

`excludedResponsesIds` is a fairly new option and we didn’t add the support for it to the SDK just yet. :(

Feel free to open a PR 😉

View original

2 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • May 12, 2022

Hi @jackkle234 Are you including the “_” in the parameter? If not, do you mind giving that a try to see if that solves the issue?


picsoung
Typeform
Forum|alt.badge.img+5
  • Developer Advocate @ Typeform
  • 393 replies
  • Answer
  • May 17, 2022
jackkle234 wrote:

The documents:https://developer.typeform.com/responses/reference/retrieve-responses/bed-sale mentions an excluded_response_id field but the param doesn't seem to be available. In fact it's not showing here.

My use case is to retrieve only the responses that I have not seen yet (aka new responses) and this flag makes perfect sense.

For example:

self.typeform.responses.list(form_id, excludedResponseIds=["<id>",])

The response I get back is

TypeError: list() got an unexpected keyword argument 'excludedResponseIds'

Hey @jackkle234 

Looks like you are using our Python SDK.

`excludedResponsesIds` is a fairly new option and we didn’t add the support for it to the SDK just yet. :(

Feel free to open a PR 😉


Reply