Answered

Can I limit access to specific invite only?

  • 20 September 2021
  • 1 reply
  • 198 views

I want to send every user a specific unique URL that only they can use, once. So it’s open to responses, but not everyone anytime. Only when I want. Hopefully with the API.

icon

Best answer by picsoung 21 September 2021, 02:19

View original

1 reply

Userlevel 7
Badge +5

Hi @derudie 

I think there are different ways to approach your question.

Mainly it will depend on the way you distribute your form, how your generate those URLs and how many responses do you expect.

If you expect less 200 responses, you can probably rely on Typeform logic to determine if a respondent can answer a typeform or not.

First let’s add a `randomId` hidden field. Each URL would contain a different id.
Then you can do some logic to say `if hidden field = {value1} then go to question 2` and repeat this instruction for all the `randomId` you generated.
You can use the API to automatically add logic step.


Once the form has been submitted you can then call the API to remove the logic for this `randomId`. 

Another solution would could be to embed your typeform on a page. And before rendering the form you call the Responses API to find if there is any response already containing the randomId.

Reply