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'
icon

Best answer by picsoung 18 May 2022, 01:33

View original

2 replies

Userlevel 7
Badge +5

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?

Userlevel 7
Badge +5

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