POST /platform/quiz/{id}/participate

Path parameters

  • id integer(int32) Required

    The id of the quiz

application/json

Body

  • answer_ids array[integer]

Responses

  • 200 application/json

    returns the quiz result

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

  • 404

    Not found

POST /platform/quiz/{id}/participate
curl \
 --request POST 'https://domain.tld/api/v2/platform/quiz/{id}/participate' \
 --header "Content-Type: application/json" \
 --data '{"answer_ids":[42]}'
Request examples
{
  "answer_ids": [
    42
  ]
}
Response examples (200)
{
  "message": "Quiz answered successfully"
}