GET
/
quiz
/
{quizId}
/
questions
curl --request GET \
  --url https://app.quizrise.com/api/v1/quiz/{quizId}/questions \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "questions": [
    {
      "id": "<string>",
      "text": "<string>",
      "type": "<string>",
      "difficulty": "<string>",
      "explanation": "<string>",
      "language": "<string>",
      "choices": [
        {
          "id": "<string>",
          "text": "<string>",
          "isCorrect": true
        }
      ]
    }
  ],
  "pagination": {
    "currentPage": 123,
    "totalPages": 123,
    "totalItems": 123,
    "itemsPerPage": 123,
    "hasNextPage": true,
    "hasPreviousPage": true
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

quizId
string
required

The ID of the quiz to retrieve questions for

Query Parameters

page
integer
default:1

The page number to retrieve

Response

200
application/json
Questions retrieved successfully
status
enum<string>
Available options:
success
questions
object[]
pagination
object