Pepvote Support Center

Sponsors

Read and manage event sponsors.

Endpoints

MethodPathScopeDescription
GET/voting-events/:idOrCode/sponsorsreadList sponsors.
POST/voting-events/:idOrCode/sponsorswriteCreate a sponsor.
GET/voting-events/:idOrCode/sponsors/:idreadGet a sponsor.
PATCH/voting-events/:idOrCode/sponsors/:idwriteUpdate a sponsor.
DELETE/voting-events/:idOrCode/sponsors/:idwriteDelete a sponsor.
PUT/voting-events/:idOrCode/sponsors/:id/logowriteSet a logo from an upload.
DELETE/voting-events/:idOrCode/sponsors/:id/logowriteRemove a logo.

Query parameters

NameTypeRequiredDescription
searchstringNoSearch sponsor names, details, and emails.

Request fields

name is required on create. Send at least one field on update. On update, info, contactEmail, and pinnedSponsorNumber accept null to clear them.

FieldTypeDescription
namestring1 to 200 characters.
infostring or nullUp to 2,000 characters.
contactEmailstring or nullUp to 320 characters.
pinnedSponsorNumberinteger or nullMinimum 1.

Create example

curl -X POST "https://api.pepvote.com/voting-events/BOARD26/sponsors" \
  -H "Authorization: Bearer $PEPVOTE_API_KEY" -H "User-Agent: my-app/1.0" \
  -H "Content-Type: application/json" -d '{"name":"Northstar Credit Union","info":"Community partner","pinnedSponsorNumber":1}'
{
  "data": {
    "id": "j57sponsor01",
    "votingEventId": "j57event01",
    "name": "Northstar Credit Union",
    "info": "Community partner",
    "contactEmail": null,
    "pinnedSponsorNumber": 1,
    "logoUrl": null,
    "createdAt": 1776900350000
  }
}

Logo example

curl -X PUT "https://api.pepvote.com/voting-events/BOARD26/sponsors/j57sponsor01/logo" \
  -H "Authorization: Bearer $PEPVOTE_API_KEY" -H "User-Agent: my-app/1.0" \
  -H "Content-Type: application/json" -d '{"storageId":"kg2storage01"}'
{
  "data": {
    "id": "j57sponsor01",
    "name": "Northstar Credit Union",
    "logoUrl": "https://storage.example/logo.png"
  }
}

Use the upload flow first. A successful create returns 201. Delete returns 202 with { "data": { "id": "...", "deletion": "queued" } }.

Was this helpful?

Last updated September 6, 2026

On this page