---
title: "Cast vote on advance"
method: POST
path: "/set-vote"
tags: ["POST"]
---

# Cast vote on advance

`POST /set-vote`

# Notes
* Votes are immutable. Once set, cannot change

* Header `X-Api-Key` is required. Use `/request-api-key` endpoint. 
  
  * If `<api_key>` is invalid, a `401` error will be returned

* Signature must be from signing the following message:
  
  * If voting yes: `I hereby confirm my vote that '<advance_name>' IS AN ADVANCE`
  
  * If voting no: `I hereby confirm my vote that '<advance_name>' IS INELIGIBLE AS AN ADVANCE`

## Headers

- `X-Api-Key` string

## Request body

- SetVoteRequest
  - `advance_id` string
  - `yes` boolean
  - `signature` string

## Response `200`

Success

- SetVoteResponse
  - `ok` boolean

---

[API](https://skmtc.net/tig-foundation/apis/the-innovation-game-api.md) · [All operations](https://skmtc.net/tig-foundation/apis/the-innovation-game-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tig-foundation/the-innovation-game-api/revisions/2af9c398c1d4/schema)
