POST
/
question
/
create

Authorizations

Authorization
string
headerrequired

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:
MULTIPLE_CHOICE,
TRUE_FALSE,
OPEN_ENDED
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

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