Quiz.video Questions API
The Questions API from Quiz.video — 2 operation(s) for questions.
The Questions API from Quiz.video — 2 operation(s) for questions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/quiz-video:quiz-video-questions-api"
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.
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: 3.2.0
info:
title: Quiz.Video Questions API
version: 1.0.0
description: 'REST API for creating, managing, generating, and rendering quizzes and flashcard decks programmatically.
Errors: every 4xx/5xx response is JSON matching the Error schema: a human-readable `error`, a stable machine-readable `code`, and usually a `hint` that says how to recover.
Rate limits: each API key has a budget of 1,000 requests, which refills once the key has made no requests for 24 hours. Responses carry `RateLimit-Policy` and, for API-key requests, `RateLimit` plus `X-RateLimit-Limit`/`-Remaining`/`-Reset`. A 429 includes `Retry-After` in seconds.
Versioning: the major version is in the path (/api/v1). Additive changes ship within v1; breaking changes only ship under a new path. Deprecated operations are marked `deprecated: true` here and respond with `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) headers at least 90 days before removal. Policy: https://www.quiz.video/developers/#versioning'
termsOfService: https://www.quiz.video/terms/
contact:
name: Quiz.Video developer support
email: support@quiz.video
url: https://www.quiz.video/developers/
x-deprecation-policy: https://www.quiz.video/developers/#versioning
servers:
- url: https://www.quiz.video
description: Current Quiz.Video host
security:
- ApiKeyAuth: []
- BearerAuth: []
- OAuth2:
- api:read
- OpenIDConnect:
- api:read
tags:
- name: Questions
paths:
/api/v1/quizzes/{id}/questions:
get:
tags:
- Questions
operationId: listQuizQuestions
summary: List questions and answers for a quiz
parameters:
- name: id
in: path
required: true
description: Quiz ID
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/Question'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
'400':
description: Request validation failed (code VALIDATION_ERROR or a field-specific code)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid credentials (code UNAUTHORIZED)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Credentials are valid but lack access or scope (code FORBIDDEN or INSUFFICIENT_SCOPE)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found (code NOT_FOUND)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: API key rate limit exceeded (code RATE_LIMITED)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error (code INTERNAL_ERROR)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
post:
tags:
- Questions
operationId: addQuizQuestions
summary: Add questions and answers to a quiz
parameters:
- name: id
in: path
required: true
description: Quiz ID
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- questions
properties:
questions:
type: array
minItems: 1
items:
$ref: '#/components/schemas/QuestionInput'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/Question'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
'201':
description: Successful response
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/Question'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
'400':
description: Request validation failed (code VALIDATION_ERROR or a field-specific code)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid credentials (code UNAUTHORIZED)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Credentials are valid but lack access or scope (code FORBIDDEN or INSUFFICIENT_SCOPE)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found (code NOT_FOUND)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: API key rate limit exceeded (code RATE_LIMITED)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error (code INTERNAL_ERROR)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/v1/questions/{questionId}/images:
post:
tags:
- Questions
operationId: attachQuestionImage
summary: Attach an image URL to a question
parameters:
- name: questionId
in: path
required: true
description: Numeric question ID
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/QuestionImageInput'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/QuestionImage'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
'201':
description: Successful response
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/QuestionImage'
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
'400':
description: Request validation failed (code VALIDATION_ERROR or a field-specific code)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid credentials (code UNAUTHORIZED)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Credentials are valid but lack access or scope (code FORBIDDEN or INSUFFICIENT_SCOPE)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Resource not found (code NOT_FOUND)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: API key rate limit exceeded (code RATE_LIMITED)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Unexpected server error (code INTERNAL_ERROR)
headers:
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
RateLimit:
$ref: '#/components/headers/RateLimit'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Answer:
allOf:
- $ref: '#/components/schemas/AnswerInput'
- type: object
properties:
id:
type: integer
questionId:
type: integer
Question:
type: object
properties:
id:
type: integer
quizId:
type: string
questionText:
type: string
ttsText:
type:
- string
- 'null'
imagePath:
type:
- string
- 'null'
order:
type: integer
duration:
type: number
answers:
type: array
items:
$ref: '#/components/schemas/Answer'
images:
type: array
items:
$ref: '#/components/schemas/QuestionImage'
QuestionInput:
type: object
required:
- questionText
properties:
questionText:
type: string
ttsText:
type: string
imagePath:
type: string
order:
type: integer
duration:
type: number
default: 4
answers:
type: array
items:
$ref: '#/components/schemas/AnswerInput'
images:
type: array
items:
$ref: '#/components/schemas/QuestionImageInput'
QuestionImageInput:
type: object
required:
- url
properties:
url:
type: string
format: uri
alt:
type: string
source:
type: string
default: upload
sourceUrl:
type: string
format: uri
width:
type: integer
height:
type: integer
Error:
type: object
description: Error envelope returned by every 4xx and 5xx response.
required:
- error
- code
properties:
error:
type: string
description: Human-readable error message.
code:
type: string
description: Stable, machine-readable error code. Branch on this, not on `error`.
examples:
- VALIDATION_ERROR
- UNAUTHORIZED
- INSUFFICIENT_SCOPE
- NOT_FOUND
- RATE_LIMITED
- INTERNAL_ERROR
hint:
type: string
description: How to resolve the error, when known.
docs:
type: string
format: uri
description: Link to the error code reference.
details:
description: Optional structured context, such as field-level validation issues.
examples:
- error: 'Missing credentials. Provide an API key via x-api-key or an OAuth access token via Authorization: Bearer.'
code: UNAUTHORIZED
hint: 'Send an API key in the x-api-key header or an OAuth access token as Authorization: Bearer <token>.'
docs: https://www.quiz.video/docs/api/#error-codes
QuestionImage:
allOf:
- $ref: '#/components/schemas/QuestionImageInput'
- type: object
properties:
id:
type: integer
questionId:
type: integer
AnswerInput:
type: object
required:
- answerText
properties:
answerText:
type: string
isCorrect:
type: boolean
default: false
additionalInfo:
type: string
ttsText:
type: string
order:
type: integer
headers:
RateLimitPolicy:
description: Quota policy per draft-ietf-httpapi-ratelimit-headers, e.g. `"api-key";q=1000;w=86400` (a 1,000-request budget per API key that refills after 86,400 seconds without requests).
schema:
type: string
XRateLimitLimit:
description: Requests allowed per window for the calling API key.
schema:
type: integer
RetryAfter:
description: Seconds to wait before retrying a rate-limited request.
schema:
type: integer
minimum: 0
XRateLimitRemaining:
description: Requests left in the current window for the calling API key.
schema:
type: integer
RateLimit:
description: Remaining quota for the calling API key and the seconds without further requests after which it is fully restored, e.g. `"api-key";r=998;t=86400`. Sent on API-key authenticated requests.
schema:
type: string
XRateLimitReset:
description: Unix time (seconds) at which the quota is fully restored if the key makes no further requests.
schema:
type: integer
WWWAuthenticate:
description: OAuth challenge (RFC 6750/RFC 9728) with the protected resource metadata URL and required scope.
schema:
type: string
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
description: API key generated from the Quiz.Video account settings page.
BearerAuth:
type: http
scheme: bearer
description: OAuth JWT access token, or an API key supplied as an Authorization bearer token.
OAuth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://www.quiz.video/api/auth/oauth2/authorize
tokenUrl: https://www.quiz.video/api/auth/oauth2/token
scopes:
api:read: Read Quiz.Video API resources.
api:write: Create and update Quiz.Video API resources.
OpenIDConnect:
type: openIdConnect
openIdConnectUrl: https://www.quiz.video/.well-known/openid-configuration
externalDocs:
description: Human-readable API documentation
url: https://www.quiz.video/docs/api/