Create form
POST https://api.typeform.com/forms
Create the form using a simple template to ask for book recommendations.
The template form contains 4 questions. Feel free to change the wording of the questions.
Refrain to modify ref
unless you know what you are doing.
Request Body
{"type"=>"quiz", "title"=>"Postman - My Awesome book recommendation", "theme"=>{"href"=>"https://api.typeform.com/themes/qHWOQ7"}, "settings"=>{"language"=>"en", "progress_bar"=>"proportion", "meta"=>{"allow_indexing"=>false}, "hide_navigation"=>false, "is_public"=>true, "show_progress_bar"=>true, "show_typeform_branding"=>true, "show_time_to_complete"=>true}, "thankyou_screens"=>[{"ref"=>"default_tys", "title"=>"Thanks for completing for your book recommendation\nCheck our other projects", "properties"=>{"show_button"=>true, "share_icons"=>false, "button_mode"=>"redirect", "button_text"=>"Discover more", "redirect_url"=>"https://developer.typeform.com/?utm_medium=referral&utm_source=postman&utm_campaign=postman_integration&utm_content=notion_collection"}, "attachment"=>{"type"=>"image", "href"=>"https://images.typeform.com/images/2dpnUBBkz2VN"}}], "fields"=>[{"title"=>"What is your Name?", "ref"=>"recommended_by", "validations"=>{"required"=>false}, "type"=>"short_text"}, {"title"=>"{{field:name}}, what's your book recommendation ", "ref"=>"book_title", "validations"=>{"required"=>false}, "type"=>"short_text", "attachment"=>{"type"=>"image", "href"=>"https://images.typeform.com/images/WMALzu59xbXQ"}, "layout"=>{"type"=>"split", "attachment"=>{"type"=>"image", "href"=>"https://images.typeform.com/images/WMALzu59xbXQ"}}}, {"title"=>"Genre", "ref"=>"genre", "properties"=>{"randomize"=>true, "alphabetical_order"=>false, "choices"=>[{"ref"=>"non-fiction", "label"=>"Non-fiction"}, {"ref"=>"mystery", "label"=>"Mystery"}, {"ref"=>"science-fiction", "label"=>"Science Fiction"}, {"ref"=>"history", "label"=>"History"}, {"ref"=>"business", "label"=>"Business"}, {"ref"=>"tech", "label"=>"Tech"}, {"ref"=>"self-help", "label"=>"Self-Help"}, {"ref"=>"fantasy", "label"=>"Fantasy"}]}, "validations"=>{"required"=>false}, "type"=>"dropdown"}, {"title"=>"Quick description of {{field:recommendation}}", "ref"=>"description", "validations"=>{"required"=>false}, "type"=>"long_text"}]}