Create poll
API to create a poll
Last updated
API to create a poll
Last updated
Key
Type
Description
question required
string
The question/title of the Poll
identifier
string
Can be used to pass in custom identifier, eg - user id, email, etc.
data
object
A flexible data field to store any meta data with each option
Minimum 2 Options are required in a poll (Just making the obvious known )
Key
Type
Description
text required
string
String to store the option's text
data
object
A flexible data field to store any meta data with each option
POST
https://api.pollsapi.com/v1/create/poll
This endpoint allows you to get free cakes.
Content-Type
string
application/json
api-key
string
API Key for your account
identifier
string
Can be used to store a custom identifier
data
object
A flexible data field to store custom metadata
question
string
The question/title of the poll you are creating
options
array
List of options the poll should have(Min. 2). Please check below for the structure of Option