Poll
signed_request

Vote

Create a vote for a poll. Votes can only be created once per uuid on a poll. The poll MUST be in state running.

<br> > The request **MUST** be signed like it's described in the signed request section.
post/clubs/{club_id}/polls/questions/{id}/votes

Request

  • Base URL
    https://api.clubplatform.de/api
  • URL
    https://api.clubplatform.de/api/clubs/{club_id}/polls/questions/{id}/votes
  • Auth
    • API key in query parameter auth_token
    • or API key in query parameter hmac

Path parameters

club_idinteger required

ID of the club.

idinteger required

ID of the poll.

Request body

hmacstring

Signature of the request. See signed request section for more details.

Example request

{
  "vote": {
    "uuid": "bd63b789fe130c1ce05f175763ece05c"
  },
  "hmac": "SgAIl0yZoKfr7eDla4XQKOmuBfapvPpiXXFzBgLLGCA="
}

Response

OK

Example response

{
  "data": {
    "locale": "de-DE"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.