Confirm Public Ballot
Authorization
bearerAuth AuthorizationBearer <token>
A key in the form pepvote_api_ followed by 32 hexadecimal characters.
In: header
Header Parameters
User-Agentstringrequired
Name and version of the calling integration. Required on every request.
Path Parameters
idOrCodestringrequired
Voting event ID or code.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
confirmationCodestringrequired
Code returned by cast. Case-insensitive; the CC prefix is optional.
- Length:
1 to 64 characters
Response Body
application/json
application/json
curl -X POST "https://example.com/public/voting-events/string/ballot/confirm" \ -H "User-Agent: my-app/1.0" \ -H "Content-Type: application/json" \ -d '{ "confirmationCode": "string" }'{
"data": {
"confirmationCode": "string",
"confirmedCount": 0,
"totalVotes": 0,
"submittedAt": 0,
"votes": [
{
"voteId": "string",
"positionTitle": "string",
"candidateName": "string",
"value": 0,
"rank": 0,
"votingMethod": "score",
"quadraticCreditCost": 0
}
]
}
}{
"error": {
"code": "bad_request",
"message": "string",
"details": {
"field": "string",
"parameter": "string",
"limit": 0,
"retryAfterSeconds": 0,
"feature": "string",
"plan": "string"
}
}
}Was this helpful?
Last updated September 6, 2026