---
title: "Vote for ticket"
method: POST
path: "/tickets/{ticketId}/vote"
tags: ["Ticket"]
---

# Vote for ticket

`POST /tickets/{ticketId}/vote`

Vote for a ticket. `action` controls semantics:
`'toggle'` (default) flips the vote, `'subscribe'` is idempotent add,
`'unsubscribe'` is idempotent remove.

## Path parameters

- `ticketId` string, required

## Request body

- object
  - `action` 'toggle' | 'subscribe' | 'unsubscribe'
  - `name` string
  - `email` string, required

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/2bfe054193b5/schema)
