# Retrieve the answers for an exam attempt

`GET https://api.cademi.com.br/api/v3/products/{product_id}/exams/{exam_id}/attempts/{exam_attempt_id}/answers`

Operation ID: `exams.attempts.answers.get` · API v3

Returns the answers the user submitted in the attempt.

Requires the `exams.attempts.read_answers` permission; `exams.attempts.read` alone does not grant access to this operation.

Required permissions: `exams.attempts.read_answers`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `product_id` | path | string | yes |  |
| `exam_id` | path | string | yes |  |
| `exam_attempt_id` | path | string | yes |  |

## Responses

### 200

Returns the answers submitted in the attempt.

Body: `data`: ExamAttemptAnswers.

Fields of ExamAttemptAnswers:

| Field | Type | Required | Description |
|---|---|---|---|
| `answers` | array of object | yes |  |
| `attempt_id` | string | yes | Public ID of the exam attempt, prefixed with exa_. |
| `object` | string, one of `exam_attempt_answers` | yes |  |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The attempt was not found for the specified exam or is not accessible with the current credentials.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
