Skip to content

Adds a new answer to a question

POST
/api/quizzes/{quizId}/questions/{questionId}/answers

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

quizId*
Typestring
Required
Pattern"[1-9][0-9]*"
questionId*
Typestring
Required
Pattern"[1-9][0-9]*"

Request Body

application/json
JSON
{
"id": 1,
"text": "Take every thing I see with me.",
"explanation": "You should not do that. Obviously.",
"answerRating": 0
}

Responses

Success

application/json
JSON
{
"id": 0
}

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python