Create poll
API to create a poll
Last updated
API to create a poll
Last updated
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
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
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
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