Skip to main content
POST
Create new questions

Authorizations

Authorization
string
header
required

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

Body

application/json
quizId
string
required

ID of the quiz

type
enum<string>
required

Type of questions to generate

Available options:
TRUEFALSE,
FILLBLANK,
MULTIPLECHOICE
count
integer
required

Number of questions to generate

Required range: x >= 1
source
enum<string>
required

Source type of the content

Available options:
TEXT,
PDF,
WEBSITE,
IMAGE
difficulty
enum<string>

Difficulty level of questions

Available options:
EASY,
MEDIUM,
HARD
content
string

Content to generate questions from

language
string

Language of the content

url
string

URL to fetch content from

Response

Questions creation initiated successfully

status
enum<string>
Available options:
success
message
string
quizId
string