Create Question
Create a new question in the question bank
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Question bank ID
Request
This endpoint expects an object.
questionType
mcq|coding|behavioral
question
Question text
category
Category (max 100 chars)
difficultyLevel
easy|medium|hard
expectedAnswer
Expected answer (for coding/behavioral)
sampleAnswer
Sample answer
scoringRubric
Scoring rubric
options
MCQ options (array of strings, required for MCQ)
correctAnswer
Correct answer (required for MCQ)
subCategory
Sub-category (max 100 chars)
skills
Array of skills
competencies
Array of competencies
timeToAnswer
Time to answer in seconds
isPublic
Public visibility (default: false)
Response
Question created successfully
success
data
message
timestamp
version
Errors
400
Bad Request Error
404
Not Found Error