Skip to main content
POST
/
api
/
v1
/
quizzes
Create a quiz
curl --request POST \
  --url https://quizquail.com/api/v1/quizzes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "World Capitals Quiz"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>",
    "description": "<string>",
    "status": "<string>",
    "intro_subtitle": "<string>",
    "outro_text": "<string>",
    "question_duration_seconds": 123,
    "answer_duration_seconds": 123,
    "fact_duration_seconds": 123,
    "hint_timing_percent": 123,
    "resolution": "<string>",
    "platform_profile": "<string>",
    "theme_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Prefix your key with Bearer in the Authorization header.

Keys follow the format qq_... and can be scoped to specific permissions.

Body

application/json
title
string

Quiz title (defaults to 'Untitled Quiz')

Example:

"World Capitals Quiz"

Response

Created quiz with rounds

data
object
required