POST
/
quiz
/
create

Authorizations

Authorization
string
headerrequired

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

Body

application/json
type
enum<string>
required

The type of questions to create

Available options:
TRUEFALSE,
FILLBLANK,
MULTIPLECHOICE
count
integer
required

The number of questions to create. Maximum is 150.

source
enum<string>
required

The source of the content to create questions from

Available options:
WEBSITE,
TEXT,
PDF
language
string

The language of the questions to create. Default is content language. Example: 'English'

difficulty
enum<string>

The difficulty of the questions to create

Available options:
EASY,
MEDIUM,
HARD
content
string

The content to create questions from. Required if url is not provided.

url
string

The url of the content to create questions from. Required if content is not provided.

Response

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