QuizGen Account API

Key check and plan headroom.

GitHub OpenAPI

Operations 1

GET /me Auth check — call this first #

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/quizgen-dev:quizgen-dev-account-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

quizgen-dev-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: QuizGen Account API
  version: '1'
  summary: Create live, hosted quizzes and forms by POSTing JSON, then read the responses back.
  description: 'The QuizGen REST API is a headless quiz/form service. Create a quiz with one call and it is immediately live at a short URL like `https://quizgen.dev/q/x7km2p` — mobile-friendly, autosaving, no account needed for respondents. No SDK required: plain HTTPS + JSON.


    **Sandbox (no key):** `POST /quizzes` with no `Authorization` header creates a sandbox quiz — live instantly, expires in 72 hours, caps at 10 responses, can''t be updated or read back. The response includes a `claim_url` to keep it.


    **Authorized:** MCP clients connect `https://quizgen.dev/mcp` and authorize in the browser (OAuth); the issued access token rides the same `Authorization: Bearer` header. Server-to-server integrations can instead issue an API key (`qg_live_...`) from the dashboard and send it as a bearer token.


    The full agent-oriented reference (conventions, question-type guidance, worked examples) is at /llms.txt. The raw quiz JSON Schema is at /schema/v1.json.'
  contact:
    name: QuizGen support
    email: sales@quizgen.dev
servers:
- url: https://quizgen.dev/api/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Account
  description: Key check and plan headroom.
paths:
  /me:
    get:
      tags:
      - Account
      operationId: getMe
      summary: Auth check — call this first
      description: Confirms authorization works and reports the account email, plan limits, and current usage so you know the headroom before creating anything.
      responses:
        '200':
          description: Account plan, limits, and usage.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Account'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
              - invalid_quiz
              - unauthorized
              - not_found
              - invalid_json
              - rate_limited
              - plan_limit
              - daily_send_limit
              - email_not_confirmed
              - quiz_closed
              - quiz_full
              - payments_not_ready
              - invalid_creator_email
              - invalid_status
              - invalid_webhook
              - invalid_recipients
              - invalid_channel
              - invalid_follow_up
              - not_yet_available
            message:
              type: string
            validation_errors:
              type: array
              items:
                type: string
            hint:
              type: string
          required:
          - code
          - message
      required:
      - error
    Account:
      type: object
      properties:
        email:
          type:
          - string
          - 'null'
          description: The account's email.
        plan:
          type: string
          example: free
        limits:
          type: object
          properties:
            live_quizzes:
              type:
              - integer
              - 'null'
              description: null = unlimited.
            responses_per_quiz_per_month:
              type:
              - integer
              - 'null'
            requests_per_minute:
              type: object
              properties:
                writes:
                  type: integer
                reads:
                  type: integer
        usage:
          type: object
          properties:
            live_quizzes:
              type: integer
      required:
      - plan
      - limits
      - usage
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key issued from the dashboard (`qg_live_...`) or a QuizGen OAuth access token (issued when an MCP client authorizes via https://quizgen.dev/mcp).