Warning: API Version 1 is deprecated. Please use API Version 2.
Api Documentation

Poll options

Poll options that are tied to a Poll. This enpoint is only available to API keys without user authentication. For API keys without user authentication the options are also available in the Polls endpoint
Retrieves a collection of polls options
Retrieves a single poll option
Creates a new poll option.
Updates an existing poll.
Deletes a single poll option.
Json
XML
PUT https://api.bundeling.com/V1/poll_options

Parameters

Url

NameDescriptionType
idA unique integer used to identify a pollint

Body

NameDescriptionTypeNillable
poll_idThe poll this option is forintfalse
textThe question.stringfalse

Example request

Headers

Content-Type:application/json
Api-Key:RAegSX8yZfEbqSPM

Body

{
    "poll_id": 14,
    "text": "Option 1"
}

Example response

{
    "id": 14,
    "poll_id": 15,
    "text": "Option name",
    "votes": 78
}