GET
/
question
/
{questionId}
curl --request GET \
  --url https://app.quizrise.com/api/v1/question/{questionId} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "question": {
    "id": "<string>",
    "text": "<string>",
    "type": "<string>",
    "difficulty": "<string>",
    "explanation": "<string>",
    "language": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "choices": [
      {
        "id": "<string>",
        "text": "<string>",
        "isCorrect": true
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

questionId
string
required

ID of the question to retrieve

Response

200
application/json
Question retrieved successfully
status
enum<string>
Available options:
success
question
object