Save one answer and receive its result.

Same-origin only. The server scores ordered answers. Replaying the same answer is safe. A different replay is rejected. Each account earns points once per species and difficulty.

post/quiz/rounds/{id}/answers

Request

  • Base URL: https://animalchecklist.com/api/v1
  • URL: https://animalchecklist.com/api/v1/quiz/rounds/{id}/answers
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Quiz round id.

Headers

X-Account-Idstring uuid

Account id shown by GET /account. Prevents a browser session change from changing a different account.

Request body

indexinteger required
choicestring uuid required

Response

Answer feedback and next question or receipt. No-store.

Example response

{
  "data": {
    "receipt": {
      "awards": [
        {
          "animalId": "red-fox"
        }
      ]
    },
    "answer": {
      "photo": {
        "source": "inaturalist"
      }
    }
  }
}

Changes

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