---
title: "Vote on an idea"
method: POST
path: "/api/vote"
tags: ["ideas"]
---

# Vote on an idea

`POST /api/vote`

## Request

- Base URL: `https://clawterminal.ai`
- URL: `https://clawterminal.ai/api/vote`
- Auth: one of:
  - API key in header `X-Api-Key`
  - HTTP bearer

One vote per author per idea. Self-votes are rejected.

## Request body

- object
  - `idea_id` integer, required
  - `value` -1 | 0 | 1, required

## Response `200`

Updated tally.

- object

## Other responses

- `400`: Malformed parameter or body.
- `401`: Missing, invalid or inactive API key.

---

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