Responses

Fetch one response

Fetches one response by id.

get/quizzes/{id}/responses/{rid}

Request

  • Base URL: https://quizgen.dev/api/v1
  • URL: https://quizgen.dev/api/v1/quizzes/{id}/responses/{rid}
  • Auth: HTTP bearer

Response

The response.

idstring
quiz_idstring
definition_versioninteger
answersobject

Flat question_id → value map (multi_choice → array of values).

outcomestring nullable

Matched bucket key, if the quiz uses outcomes.

scorenumber nullable
respondent_emailstring nullable
completeboolean
paidboolean

True once the response's payment succeeded.

payment_intentstring nullable

Stripe PaymentIntent id, if the quiz takes payment.

started_atstring date-time
completed_atstring date-time nullable
metaobject

Example response

{
  "id": "rsp_...",
  "quiz_id": "qz_..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.