I’m using the forms API `https://api.typeform.com/forms` to retrieve all forms, surveys, polls etc created via Typeform dashboard and display it to my users. But the forms API returns both forms that have been published and forms that have not been published. As a result, users of my application see all forms including forms that have NOT been approved to be published.
How do I prevent this from happening and only allow users see forms that have been published using the Typeform API: `https://api.typeform.com/forms`
Answered
How do I prevent Typeform forms API from returning forms that haven't been published
Best answer by mathio-tf
Hello
each form has a boolean property that indicates if the form has been published:
"settings": {
"is_public": false,
},
You can filter your typeforms based on this property. I dont think there is another way.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.