POST
/
question
/
create

Authorizations

Authorization
string
header
required

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

Body

application/json
count
integer
required

Number of questions to generate

Required range: x > 1
quizId
string
required

ID of the quiz

source
enum<string>
required

Source type of the content

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

Type of questions to generate

Available options:
TRUEFALSE,
FILLBLANK,
MULTIPLECHOICE
content
string

Content to generate questions from

difficulty
enum<string>

Difficulty level of questions

Available options:
EASY,
MEDIUM,
HARD
language
string

Language of the content

url
string

URL to fetch content from

Response

200 - application/json
message
string
quizId
string
status
enum<string>
Available options:
success