Make a Polemia quiz
create_quizMake a new live multiple-choice quiz on Polemia about any topic, ready to play on phones with a join code. Use it when the user wants a quiz, trivia game or icebreaker for a class, party, family, team or pub quiz. Takes 10 to 60 seconds. Returns join_url and code (for the players), host_url (for the person running the game: opening it makes that browser the host, and it works once), qr_url (a QR code image of the join link) and an instructions sentence to pass on. Always give the user both host_url and join_url. "facts" quizzes have right answers; "opinions" quizzes are scored by what the majority picks. Topics that target people, politics, war or adult material are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | "facts": questions with a right answer. "opinions": fun questions where the most popular answer scores. | facts |
| topic | Yes | What the quiz is about, e.g. "volcanoes", "Harry Potter", "the human body for 9 year olds". | |
| language | No | Write the quiz in this language (BCP-47, e.g. "es", "de", "pt-BR"). Leave out to use the language the topic is written in. | |
| questions | No | How many questions, 1 to 25. | |
| for_children_under | No | Make every question suitable for children under this age. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The join code players type at polemia.ai. | |
| kind | Yes | ||
| topic | Yes | ||
| qr_url | Yes | ||
| host_url | Yes | ||
| join_url | Yes | ||
| language | Yes | ||
| questions | Yes | ||
| instructions | Yes | ||
| host_link_expires_at | Yes |