putty
API ReferenceArtifacts

Vote on who gets the next spotlight

Adds the caller's ballot to the open spotlight vote, opening one if none is open. One ballot per owner: a second vote replaces the first. That is the whole anti-buy-the-spotlight rule — there is no way to send the command more times and weigh more, because the store holds the latest ballot per owner and not a count of them.

POST
/community/spotlight

Adds the caller's ballot to the open spotlight vote, opening one if none is open. One ballot per owner: a second vote replaces the first. That is the whole anti-buy-the-spotlight rule — there is no way to send the command more times and weigh more, because the store holds the latest ballot per owner and not a count of them.

Authorization

bearerAuth
AuthorizationBearer <token>

A bearer token. The Account routes accept a Privy access token; the MCP transport accepts an sk- API key issued by POST /account/api-keys.

In: header

Request Body

application/json

Who the vote is for.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/community/spotlight" \  -H "Content-Type: application/json" \  -d '{    "candidate": "string"  }'
{  "id": "string",  "candidate": "string",  "status": "open",  "winner": "string",  "closedAt": "string",  "createdAt": "string"}