putty
API ReferenceArtifacts

Close the spotlight vote

Closes the open vote and records its winner. The winner is the highest ballot count, ties broken by the order the ballots were cast — so the person who got there first keeps it and the outcome is the same on every run. The closed vote is kept, so a spotlight can be shown after the fact. Closing with no open vote is a 409, not a silent success: a caller that asked to close something needs to know it was not there.

POST
/community/spotlight/close

Closes the open vote and records its winner. The winner is the highest ballot count, ties broken by the order the ballots were cast — so the person who got there first keeps it and the outcome is the same on every run. The closed vote is kept, so a spotlight can be shown after the fact. Closing with no open vote is a 409, not a silent success: a caller that asked to close something needs to know it was not there.

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

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/community/spotlight/close"
{  "id": "string",  "candidate": "string",  "status": "open",  "winner": "string",  "closedAt": "string",  "createdAt": "string"}