---
title: "Cast Vote"
method: POST
path: "/api/v1/votes/{url}/cast"
tags: ["Voting"]
---

# Cast Vote

`POST /api/v1/votes/{url}/cast`

## Request

- Base URL: `https://www.endlesstravelplans.com`
- URL: `https://www.endlesstravelplans.com/api/v1/votes/{url}/cast`
- Auth: none required

Cast a vote on a voting session. Public endpoint with duplicate vote prevention.

## Request body

- object
  - `option_ids` integer[], required: The option IDs to vote for.
  - `voter_name` string, nullable: Optional voter name.

## Response `200`

- object
  - `vote` object
  - `message` string

## Other responses

- `409`
- `422`
- `429`: rate_limited: A throttle or a per-account allowance refused the request; `retry_after` or `remaining` may be present.
- `500`: server_error: Unhandled failure; quote `request_id` to support.

---

[API](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api.md) · [All operations](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/revisions/ae82ed3e4a8f?raw)
