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.
openapi: 3.2.0
info:
title: QRvote Health 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: Health
paths:
/api/health:
get:
operationId: health
summary: Service status
responses:
'200':
description: Up. status is "degraded" when the nightly jobs are late or failing or server errors are spiking.
content:
application/json:
schema:
$ref: '#/components/schemas/Health'
'503':
description: 'Down: the database is unreachable.'
content:
application/json:
schema:
$ref: '#/components/schemas/Health'
tags:
- Health
components:
schemas:
Health:
type: object
properties:
status:
enum:
- ok
- degraded
- down
checks:
type: object
properties:
database:
type: boolean
nightlyJobs:
type: boolean
errorRate:
type: boolean
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