POST
/
quiz
/
create
curl --request POST \
  --url https://app.quizrise.com/api/v1/quiz/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "TRUEFALSE",
  "count": 123,
  "source": "WEBSITE",
  "language": "<string>",
  "difficulty": "EASY",
  "content": "<string>",
  "url": "<string>",
  "tags": [
    "<string>"
  ]
}'
{
  "status": "success",
  "message": "<string>",
  "quiz": {
    "id": "<string>",
    "title": "<string>",
    "description": "<string>",
    "slug": "<string>",
    "visibility": "<string>",
    "creator": {
      "name": "<string>",
      "avatar": "<string>"
    },
    "tags": [
      "<string>"
    ],
    "questionCount": 123,
    "flashcardCount": 123,
    "quizAttemptCount": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Quiz created successfully

The response is of type object.