---
title: "List all votes cast on a variant (options + events)."
method: GET
path: "/v1/trips/{id}/variants/{variantId}/votes"
tags: ["Public API v1"]
---

# List all votes cast on a variant (options + events).

`GET /v1/trips/{id}/variants/{variantId}/votes`

## Request

- Base URL: `https://api.mynextadventure.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mynextadventure.cloud/v1/trips/{id}/variants/{variantId}/votes`
- Auth: API key in header `X-API-Key`

## Path parameters

- `id` string, required
- `variantId` string, required

## Response `200`

- VoteListV1Dto
  - `votes` VoteV1Dto[], required
    - `vote` -1 | 1, required: 1 = up, -1 = down.
    - `user` VoteUserV1Dto, required
      - `userId` string
      - `name` string, required
      - `email` string
    - `variantId` string, required: Variant the vote is scoped to.
    - `destinationKey` string: Destination key (omitted for variant-level / event-level votes).
    - `optionKey` string: For option votes this is the option's key; for event votes it is the event's key.

## Other responses

- `404`: Trip or variant not found, or no access.

---

[API](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api.md) · [All operations](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api/revisions/a246114e73a0?raw)
