Pepvote Support Center

Update Voter

PATCH
/voting-events/{idOrCode}/voters/{id}

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.

idstringrequired

ID of the record.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Send at least 1 property

voterIdstring

Organizer-assigned identifier. Unique within the event.

  • Length: up to 200 characters
namestring

Voter name.

  • Length: up to 200 characters
emailstring

Email used for voter key delivery and reminders.

  • Length: up to 320 characters
groupIdstring | null

Group the voter belongs to. Null clears it.

  • Nullable: send null to clear
weightnumber | null

Vote weight under weighted voting. Null resets it to the default.

  • Minimum value: 0
  • Nullable: send null to clear
statusenum<string>
  • Values:not_approved|pending|approved

Response Body

application/json

curl -X PATCH "https://example.com/voting-events/string/voters/string" \  -H "User-Agent: my-app/1.0" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "id": "string",
    "votingEventId": "string",
    "groupId": "string",
    "voterId": "string",
    "name": "string",
    "email": "string",
    "weight": 0,
    "status": "not_approved",
    "selfRegistered": true,
    "voted": true,
    "createdAt": 0
  }
}
Was this helpful?

Last updated September 6, 2026