# Retrieve an exam answer key

`GET https://api.cademi.com.br/api/v3/products/{product_id}/exams/{exam_id}/answer-key`

Operation ID: `exams.answer_key.get` · API v3

Returns the correct alternatives for the exam questions.

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

Required permissions: `exams.read_answer_key`.

## Parameters

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

## Responses

### 200

Returns the answer key for the exam.

Body: `data`: ExamAnswerKey.

Fields of ExamAnswerKey:

| Field | Type | Required | Description |
|---|---|---|---|
| `exam_id` | string | yes | Public ID of the exam, prefixed with exm_. |
| `object` | string, one of `exam_answer_key` | yes |  |
| `questions` | array of object | 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 exam was not found in the specified product or is not accessible with the current credentials.

Body: Error.

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