Quiz

Submit an attempt for a quiz

POST
/api/v1/quiz/submit
/api/v1/quiz/submit

The Authorization access token

Authorization

Authorization
Required
<token>

Please enter a valid access token

In: header

Request Body

application/jsonOptional

The responses for the quiz

attemptId
Required
string

Minimum length: 1

timeTakeninteger

Format: "int32"

responses
Required
array<object>

curl -X POST "https://example.com/api/v1/quiz/submit" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "attemptId": "string",
    "timeTaken": 0,
    "responses": [
      {
        "questionId": null,
        "answers": null
      }
    ]
  }'

OK