Skip to main content
POST
/
question
Create question feedback
curl --request POST \
  --url https://qti.alpha-1edtech.ai/api/question \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "feedback": "<string>",
  "lessonId": "<string>",
  "questionId": "<string>",
  "humanApproved": true
}
'
{
  "userId": "<string>",
  "feedback": "<string>",
  "type": "QUESTION",
  "lessonId": "<string>",
  "questionId": "<string>",
  "humanApproved": true
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

The question feedback content to create

Schema for creating new feedback (identifier is auto-generated)

userId
string
required

Identifier of the user who submitted the feedback

feedback
string
required

The feedback content provided by the user

lessonId
string
required

Identifier of the lesson this feedback refers to (required)

questionId
string

Identifier of the specific question this feedback refers to (optional, for question-level feedback)

humanApproved
boolean

Whether the feedback has been reviewed and approved by a human

Response

Successfully created question feedback

Schema for creating new feedback (identifier is auto-generated)

userId
string
required

Identifier of the user who submitted the feedback

feedback
string
required

The feedback content provided by the user

type
enum<string>
required

Type of feedback - either for a specific question or for the entire lesson

Available options:
QUESTION,
LESSON
lessonId
string
required

Identifier of the lesson this feedback refers to (required)

questionId
string

Identifier of the specific question this feedback refers to (optional, for question-level feedback)

humanApproved
boolean

Whether the feedback has been reviewed and approved by a human