Voting
Create Vote
Create a new voting session with options.
post/api/v1/votes
Request
- Base URL: https://www.endlesstravelplans.com
- URL: https://www.endlesstravelplans.com/api/v1/votes
- Auth: HTTP bearer
Request body
Example request
{
"trip_external_id": "architecto",
"name": "Where should we eat?",
"description": "Pick your favorite restaurant",
"vote_type_id": 1,
"ranked_choice_voting": true,
"name_required": true,
"voting_deadline": "2052-11-08",
"consensus_threshold_percent": 22,
"options": [
[]
]
}Response
Example response
{
"vote": {
"name": "Where should we eat?",
"url": "a1b2c3d4e5"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.