This documentation explains how to use the dynamic generation functionality of the Quick Poll Maker, a lightweight endpoint designed to quickly generate public polls via URL parameters. It allows you to create multiple types of polls with no integration into user accounts or existing systems on Polling.com.
The endpoint does not require an account, API key, or any setup. It is completely free and open. It is designed to be as frictionless as possible.
Note: This is a standalone endpoint that does not integrate with user accounts or the broader Polling.com Services. It comes with limitations - it is limited in question types and limited to a single question. Results of the poll also are public with no option for private results. A poll does not have an "owner".
You can generate a poll by constructing a URL with the following query parameters:
radio
(multiple choice)checkbox
(checkbox options)ranking
(ranked options)text
(single line text input)rating
(star rating)radio
, checkbox
, and ranking
types.https://app.polling.com/quick-poll?qTitle=What%27s+your+favorite+color&type=radio&a=Red&a=Blue&a=Green
https://app.polling.com/quick-poll?qTitle=Which+fruits+do+you+like&type=checkbox&a=Apple&a=Banana&a=Orange
https://app.polling.com/quick-poll?qTitle=How+would+you+rate+this+product&type=rating
Polls can be created programmatically allowing you to dynamically generate poll URLs based on user input or other logic.
Programmatic poll creation isn't limited to any specific programming language however the below examples in PHP and Javascript are provided to help explain how it works.
Using Programmatic Poll Creation by constructing this URL makes running many polls (even hundreds) on a website or app as frictionless as possible.
const baseUrl = 'https://app.polling.com/quick-poll';
let query = new URLSearchParams({
qTitle: "What's your favorite color?",
qDesc: "Select the color that best fits your personality.",
type: "radio"
});
const options = ["Red", "Blue", "Green"];
options.forEach(option => {
query.append('a', option);
});
const finalUrl = `${baseUrl}?${query.toString()}`;
console.log(finalUrl);
$baseUrl = 'https://app.polling.com/quick-poll';
$query = http_build_query([
'qTitle' => "What's your favorite color?",
'qDesc' => "Select the color that best fits your personality.",
'type' => 'radio'
]);
$options = ["Red", "Blue", "Green"];
foreach ($options as $option) {
$query .= "&a=" . urlencode($option);
}
echo "{$baseUrl}?{$query}";
For use by LLMs and third party software we provide an OpenAPI spec at https://polling.com/openapi.yaml
If you're not familiar with programming or just want a fast and easy way to create a poll, use our Free Poll Maker for a user-friendly interface to generate quick polls without coding.
This quick poll generation service is a fast and simple tool for creating single polls without requiring account integration or registration. For more advanced features, please explore our full featured offerings at Polling.com.