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
Json
XML
POST https://api.bundeling.com/V2/poll_options

Parameters

Body

NameDescriptionTypeNillableRequired
poll_uuidThe unique identifier of the poll this option is forstringfalsetrue
textThe questionstringfalsetrue
external_referenceReference for linking to external systems.stringfalsefalse

Example request

Headers

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

Body

{
    "poll_uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
    "text": "Option 1",
    "external_reference": "123908"
}

Example response

{
    "uuid": "eeb763c41c054dcc8f6d9362f24ee9b2",
    "poll_uuid": "d7743aaf53224e279853c7d0c1dbfb3a",
    "text": "Option name",
    "external_reference": "123908",
    "votes": 78,
    "creationdate": "2024-01-20T00:00:00+0100",
    "lastupdate": "2024-01-20T00:00:00+0100"
}