QRvote Admin API

The Admin API from QRvote — 17 operation(s) for admin.

GitHub OpenAPI

Operations 18

GET /api/admin/{slug} Everything on the organizer dashboard #
PATCH /api/admin/{slug} Change settings, or end / reopen voting #
POST /api/admin/{slug}/judges Contests: add a judge (judging must be on) #
DELETE /api/admin/{slug}/judges/{id} Contests: remove a judge, their link and their scores #
POST /api/admin/{slug}/entrants Add entries (contests) or checkpoints (hunts) #
GET /api/admin/{slug}/export.csv Download votes, survey responses, hunt players or board posts as CSV #
GET /api/admin/{slug}/posters Order printed posters on Zazzle: a ready order link and print image for each… #
POST /api/admin/{slug}/certificates Order printed certificates on Zazzle, once voting has closed #
GET /api/admin/{slug}/responses Survey responses, newest first (up to 500). #
POST /api/admin/{slug}/host Run a live quiz: start, reveal, next question, finish, or pause/resume its clock #
PUT /api/admin/{slug}/questions Surveys and quizzes: replace the questions (only until the first response) #
PUT /api/admin/{slug}/answers Fix a quiz's answer key (allowed after people have answered; every score… #
GET /api/admin/{slug}/board Boards and nominations: every post, including those waiting for approval or… #
PATCH /api/admin/{slug}/posts/{id} Boards and nominations: approve, hide or answer a post; Ideas: set its status… #
POST /api/admin/{slug}/posts/{id}/merge Ideas and nominations: combine a duplicate into another post #
POST /api/admin/{slug}/posts/approve-all Boards and nominations: approve every post waiting for approval #
POST /api/admin/{slug}/board/host Q&A: put a question on the big screen, mark it answered, or take it down #
POST /api/admin/{slug}/suggestions/close Nominations: close suggestions and start voting with the finalists #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/qrvote-org:qrvote-org-admin-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

qrvote-org-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: QRvote Admin API
  version: 1.0.0
  summary: Read public contest, survey and hunt data; manage your own with its organizer key.
  description: 'QRvote runs contests, surveys and scavenger hunts at in-person events with printed QR codes. This API lets agents read public results and help an organizer manage their own contest, survey or hunt. Creating one, voting, answering and reporting are for people in a browser: those endpoints require a Cloudflare Turnstile check and refuse automated clients, so they are not described here. There is no account system. Every contest, survey or hunt has one organizer key, which the organizer finds in their organizer link (https://qrvote.org/c//admin#key=) and can give to an agent. See https://qrvote.org/auth.md.'
  contact:
    email: legal@qrvote.org
  termsOfService: https://qrvote.org/terms
servers:
- url: https://qrvote.org
tags:
- name: Admin
paths:
  /api/admin/{slug}:
    get:
      operationId: getDashboard
      summary: Everything on the organizer dashboard
      description: Settings, entries with vote counts, ballot tickets, fairness signals (grouped, hashed), and survey or hunt data. campaign.note, when set, is a message to the organizer from QRvote's moderators (pass it on to the person).
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          description: Wrong or missing organizer key
      tags:
      - Admin
    patch:
      operationId: updateSettings
      summary: Change settings, or end / reopen voting
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  maxLength: 120
                description:
                  type: string
                  maxLength: 1000
                results:
                  type: string
                  enum:
                  - live
                  - after
                  - private
                allowChange:
                  type: boolean
                requireBallot:
                  type: boolean
                ipLimit:
                  type: integer
                  minimum: 1
                  maximum: 100000
                opensAt:
                  type:
                  - integer
                  - 'null'
                closesAt:
                  type:
                  - integer
                  - 'null'
                categories:
                  type: array
                  maxItems: 10
                  description: 'Contests: award categories. Names (new) or {id, name} (keeps that category''s votes when renaming). A category with votes can''t be removed.'
                  items:
                    oneOf:
                    - type: string
                      maxLength: 40
                    - type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                          maxLength: 40
                criteria:
                  type: array
                  maxItems: 5
                  description: 'Contests: what judges score, 1–10 each. Empty turns judging off.'
                  items:
                    type: string
                    maxLength: 30
                theme:
                  type: string
                  description: classic, halloween, harvest, winter, garden, carnival, beach, sports, hearts, stars, lunar, diwali, muertos, hanami, cats, dogs, campfire, art, trivia, classroom, cookoff, science, wedding, carshow, workplace, thanksgiving, or custom:<accent hex>-<second hex> (e.g. custom:1a73e8-ff8a5b)
                  pattern: ^(classic|halloween|harvest|winter|garden|carnival|beach|sports|hearts|stars|lunar|diwali|muertos|hanami|cats|dogs|campfire|art|trivia|classroom|cookoff|science|wedding|carshow|workplace|custom:[0-9a-f]{6}-[0-9a-f]{6})$
                lang:
                  type: string
                  description: 'The voters'' language: the contest''s QR codes and links open in it (anyone can switch). Defaults to en.'
                  enum:
                  - en
                  - es
                  - de
                  - zh
                  - fr
                  - pt
                  - ja
                  - ko
                  - it
                  - hi
                  - id
                  - tr
                  - ar
                closed:
                  type: boolean
                  description: true ends voting now; false reopens it
                approve:
                  type: boolean
                  description: 'Boards and nominations (while suggesting): new posts wait for approval.'
                names:
                  type: boolean
                  description: 'Boards and nominations (while suggesting): people may add their name.'
                paused:
                  type: boolean
                  description: 'Boards: pause new posts.'
                replyAs:
                  type: string
                  maxLength: 60
                  description: 'Ideas: how replies are signed, e.g. The library team.'
                labels:
                  type: array
                  maxItems: 10
                  description: 'Ideas: categories, names (new) or {id, name} (renames). A category with posts can''t be removed.'
                  items:
                    oneOf:
                    - type: string
                      maxLength: 40
                    - type: object
                      properties:
                        id:
                          type: integer
                        name:
                          type: string
                          maxLength: 40
                suggestUntil:
                  type:
                  - integer
                  - 'null'
                  description: 'Nominations, while suggesting: when suggestions close by themselves (Unix ms, before closesAt), or null to close them by hand.'
      responses:
        '200':
          description: Updated dashboard data
        '401':
          description: Wrong or missing organizer key
      tags:
      - Admin
  /api/admin/{slug}/judges:
    post:
      operationId: addJudge
      summary: 'Contests: add a judge (judging must be on)'
      description: 'The dashboard (getDashboard → judging.judges) then lists the judge with their private scorecard link key: https://qrvote.org/j/#.. Give it to that judge only.'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  maxLength: 60
      responses:
        '200':
          description: Added
        '409':
          description: Judging is off
      tags:
      - Admin
  /api/admin/{slug}/judges/{id}:
    delete:
      operationId: removeJudge
      summary: 'Contests: remove a judge, their link and their scores'
      parameters:
      - $ref: '#/components/parameters/slug'
      - name: id
        in: path
        required: true
        schema:
          type: integer
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      responses:
        '200':
          description: Removed
      tags:
      - Admin
  /api/admin/{slug}/entrants:
    post:
      operationId: addEntries
      summary: Add entries (contests) or checkpoints (hunts)
      description: 'Not on boards (409 board_entries: posts come from people). On a nomination still taking suggestions, these are your own nominees, shown with the suggestions.'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - entrants
              properties:
                entrants:
                  type: array
                  items:
                    type: object
                    required:
                    - name
                    properties:
                      name:
                        type: string
                        maxLength: 80
                      description:
                        type: string
                        maxLength: 300
      responses:
        '200':
          description: Updated dashboard data
      tags:
      - Admin
  /api/admin/{slug}/export.csv:
    get:
      operationId: exportCsv
      summary: Download votes, survey responses, hunt players or board posts as CSV
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
      responses:
        '200':
          description: CSV
          content:
            text/csv:
              schema:
                type: string
      tags:
      - Admin
  /api/admin/{slug}/posters:
    get:
      operationId: getPosterOrders
      summary: 'Order printed posters on Zazzle: a ready order link and print image for each…'
      description: 'The poster from the dashboard''s Print page, in the contest''s language, with its QR code (it opens the public page only). orders maps each size (18x24 and 12x18 posters, 16x20 foam board) to a Zazzle link that opens that product filled in; give the person the link, and they order and pay on Zazzle. posters holds the print images. englishWords means the contest''s language can''t be printed yet, so the poster is in English. Sheets of entry signs aren''t offered here: they carry entry codes, so they''re ordered from the Print page.'
      parameters:
      - $ref: '#/components/parameters/slug'
      - name: accent
        in: query
        description: 'The sign color as 6 hex digits, no #. Leave it out for the contest theme''s color, as on the dashboard''s Print page.'
        schema:
          type: string
          pattern: ^[0-9a-fA-F]{6}$
      security:
      - organizerKey: []
      - signIn:
        - read
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  orders:
                    type: object
                    additionalProperties:
                      type: string
                  posters:
                    type: object
                    additionalProperties:
                      type: string
                  englishWords:
                    type: string
                  noTitle:
                    type: boolean
        '404':
          description: No such contest
      tags:
      - Admin
  /api/admin/{slug}/certificates:
    post:
      operationId: getCertificateOrders
      summary: Order printed certificates on Zazzle, once voting has closed
      description: 'Changes nothing. Contests, quizzes and hunts, after voting closes (409 not_closed before). QRvote writes the certificates as the dashboard''s Print page does: one for each award''s winner (top3: true for the top three), with their place and how they won, in the contest''s language and colors. awards[i] says who certificate i is for. orders[i] maps each size (11x85 is letter, 14x11 is large) to a Zazzle link that opens that certificate filled in; give the person the links, and they order and pay on Zazzle. It''s null when the print font can''t draw the award or the name (print that one from the dashboard instead). certificates[i] holds the print images. No winners yet means empty lists.'
      x-readOnly: true
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                top3:
                  type: boolean
                  description: The top three of each award, not only the winners
                accent:
                  type: string
                  pattern: ^[0-9a-fA-F]{6}$
                  description: 'The color as 6 hex digits, no #. Leave it out for the contest theme''s color, as on the Print page.'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  awards:
                    type: array
                    items:
                      type: object
                      properties:
                        award:
                          type: string
                        place:
                          type: integer
                        tie:
                          type: boolean
                        name:
                          type: string
                  orders:
                    type: array
                    items:
                      type:
                      - object
                      - 'null'
                      additionalProperties:
                        type: string
                  certificates:
                    type: array
                    items:
                      type:
                      - object
                      - 'null'
                      additionalProperties:
                        type: string
        '404':
          description: No such contest, or it has no awards
        '409':
          description: Voting hasn't closed
      tags:
      - Admin
  /api/admin/{slug}/responses:
    get:
      operationId: listResponses
      summary: Survey responses, newest first (up to 500).
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      tags:
      - Admin
  /api/admin/{slug}/host:
    post:
      operationId: hostStep
      summary: 'Run a live quiz: start, reveal, next question, finish, or pause/resume its clock'
      description: 'For quizzes with host = true. Body: { action: ''start'' | ''reveal'' | ''next'' | ''finish'' | ''pause'' | ''resume'' }. Steps must follow lobby → question → reveal → question … → done; anything else is 409. With hostSecs > 0 the quiz also moves on by itself (each question hostSecs seconds, each answer shown 8 s); pause/resume stop and restart that clock, and a step by hand restarts it.'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                action:
                  type: string
                  enum:
                  - start
                  - reveal
                  - next
                  - finish
                  - pause
                  - resume
              required:
              - action
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      tags:
      - Admin
  /api/admin/{slug}/questions:
    put:
      operationId: setQuestions
      summary: 'Surveys and quizzes: replace the questions (only until the first response)'
      description: 'Body: { questions: [...] }, 1–50, in order; the whole list is replaced. Each: { type, prompt (≤300 chars), required?, options?, max?, answer?, id? }. type is single (pick one) or multi (pick any) with options (2–20 distinct texts), yesno, likert (disagree…agree), rating (max 5 or 10 stars), short or long (written). Quizzes: answer is the correct option index (single; yesno uses 1 = yes, 0 = no), a list of option indexes (multi), or a list of accepted texts (short); at least one question needs one. Send a question''s id back to keep its picture. Refused with 409 once anyone has answered; the answer key can still be fixed with setAnswerKey.'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                questions:
                  type: array
                  minItems: 1
                  maxItems: 50
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                        - single
                        - multi
                        - yesno
                        - likert
                        - rating
                        - short
                        - long
                      prompt:
                        type: string
                        maxLength: 300
                      required:
                        type: boolean
                      options:
                        type: array
                        items:
                          type: string
                          maxLength: 100
                        maxItems: 20
                      max:
                        type: integer
                        enum:
                        - 5
                        - 10
                      answer: {}
                      id:
                        type: integer
                    required:
                    - type
                    - prompt
              required:
              - questions
      responses:
        '200':
          description: The saved questions
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '409':
          description: 'Locked: people have answered'
      tags:
      - Admin
  /api/admin/{slug}/answers:
    put:
      operationId: setAnswerKey
      summary: Fix a quiz's answer key (allowed after people have answered; every score…
      description: 'Body: { answers: { : key | null } }. The key is an option index (single; yes/no uses 1 = yes, 0 = no), a list of option indexes (multi, all must match), or a list of accepted texts (short; case, accents and punctuation are ignored). null stops scoring that question. At least one question must stay scored.'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                answers:
                  type: object
                  additionalProperties: true
              required:
              - answers
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      tags:
      - Admin
  /api/admin/{slug}/board:
    get:
      operationId: listPosts
      summary: 'Boards and nominations: every post, including those waiting for approval or…'
      description: 'board.posts with each post''s id, text, optional name, status (pending, shown, hidden, answered, merged), votes, and for Ideas its stage, category, reply and pinned; board.counts per status and board.onScreen (Q&A). Never who posted: organizers can''t see that.'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
      responses:
        '200':
          description: The board as the dashboard sees it
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Not a board or a nomination
      tags:
      - Admin
  /api/admin/{slug}/posts/{id}:
    patch:
      operationId: moderatePost
      summary: 'Boards and nominations: approve, hide or answer a post; Ideas: set its status…'
      description: 'Body (any of): status shown (approve or show again), hidden, answered (Q&A) or pending; stage review, planned, doing, done, not or '''' (Ideas); label (a category id); reply (≤500 chars, '''' removes it); pinned. Organizers never edit what people wrote. On a nomination these work only while suggestions are open (409 suggestions_closed after).'
      parameters:
      - $ref: '#/components/parameters/slug'
      - name: id
        in: path
        required: true
        schema:
          type: integer
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - shown
                  - hidden
                  - answered
                  - pending
                stage:
                  type: string
                  enum:
                  - ''
                  - review
                  - planned
                  - doing
                  - done
                  - not
                label:
                  type: integer
                reply:
                  type: string
                  maxLength: 500
                pinned:
                  type: boolean
      responses:
        '200':
          description: The board as the dashboard sees it
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: No such post
      tags:
      - Admin
  /api/admin/{slug}/posts/{id}/merge:
    post:
      operationId: combinePosts
      summary: 'Ideas and nominations: combine a duplicate into another post'
      description: 'Body: { into: }. The duplicate''s upvotes move to that post (someone who upvoted both counts once) and the duplicate is hidden as merged; its author sees where it went. On a nomination only while suggestions are open.'
      parameters:
      - $ref: '#/components/parameters/slug'
      - name: id
        in: path
        required: true
        schema:
          type: integer
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                into:
                  type: integer
              required:
              - into
      responses:
        '200':
          description: The board as the dashboard sees it
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Can't combine a post into itself or into one that isn't up
      tags:
      - Admin
  /api/admin/{slug}/posts/approve-all:
    post:
      operationId: approveAllPosts
      summary: 'Boards and nominations: approve every post waiting for approval'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      responses:
        '200':
          description: The board as the dashboard sees it
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      tags:
      - Admin
  /api/admin/{slug}/board/host:
    post:
      operationId: hostQuestion
      summary: 'Q&A: put a question on the big screen, mark it answered, or take it down'
      description: 'Body: { action: ''show'', id } (a waiting question is approved too), { action: ''answer'', id, next?: true } (next puts the most upvoted open question up), or { action: ''down'' }.'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                action:
                  type: string
                  enum:
                  - show
                  - answer
                  - down
                id:
                  type: integer
                next:
                  type: boolean
              required:
              - action
      responses:
        '200':
          description: The board as the dashboard sees it
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
      tags:
      - Admin
  /api/admin/{slug}/suggestions/close:
    post:
      operationId: closeSuggestions
      summary: 'Nominations: close suggestions and start voting with the finalists'
      description: 'Body: { finalists?: [post ids] }. Without finalists, every approved suggestion goes on; with them, only those (a waiting one is approved). The finalists become the entries, the rest are hidden, and voting opens. Can''t be undone.'
      parameters:
      - $ref: '#/components/parameters/slug'
      security:
      - organizerKey: []
      - signIn:
        - read
        - manage
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                finalists:
                  type: array
                  items:
                    type: integer
                  minItems: 1
      responses:
        '200':
          description: The board as the dashboard sees it
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '409':
          description: Suggestions already closed
      tags:
      - Admin
components:
  parameters:
    slug:
      name: slug
      in: path
      required: true
      description: The id in the public link, e.g. `scarecrow-contest-2026-ab12` from https://qrvote.org/c/scarecrow-contest-2026-ab12
      schema:
        type: string
        pattern: ^[a-z0-9-]{1,64}$
  securitySchemes:
    organizerKey:
      type: http
      scheme: bearer
      description: The organizer key from the organizer link (#key=…). Grants full control of that one contest, survey or hunt.
    signIn:
      type: oauth2
      description: Sign in as the organizer (OAuth 2.1 with PKCE; clients register themselves at https://qrvote.org/oauth/register or use a Client ID Metadata Document). The organizer picks which contests and Read or Manage at https://qrvote.org/connect. Tokens work on the operations documented here, for those contests only. See https://qrvote.org/auth.md
      flows:
        authorizationCode:
          authorizationUrl: https://qrvote.org/authorize
          tokenUrl: https://qrvote.org/oauth/token
          refreshUrl: https://qrvote.org/oauth/token
          scopes:
            read: Read results, entries, responses and exports
            manage: Also change settings, end voting, add entries and run a live quiz
externalDocs:
  url: https://qrvote.org/developers