---
title: "Get Next Assessment Question"
method: GET
path: "/api/assessment/v2/assessments/{assessmentId}/questions/unanswered"
tags: ["Assessments"]
---

# Get Next Assessment Question

`GET /api/assessment/v2/assessments/{assessmentId}/questions/unanswered`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/assessment/v2/assessments/{assessmentId}/questions/unanswered`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `ASSESSMENT_READ`, `ASSESSMENT`

Use this API to locate the next, first, or previous unanswered or flagged question in an assessment. The response includes the relevant section and question identifiers, along with overall assessment progress.

> 🗒 Things to Know
>
> - The returned `sectionId` can be used with the [Get Assessment Question Section API](https://developer.onetrust.com/onetrust/reference/navigateAssessmentSectionUsingGET) to retrieve the full question details and available response options.
> - This endpoint is useful when only a subset of assessment questions remain unanswered.

## Path parameters

- `assessmentId` string, uuid, required

## Query parameters

- `action` 'FIRST_UNANSWERED' | 'NEXT_UNANSWERED' | 'PREVIOUS_UNANSWERED' | 'NEXT_UNANSWERED_FLAGGED' | 'PREVIOUS_UNANSWERED_FLAGGED' | 'NEXT_FLAGGED_QUESTION' | 'QUESTION_POSITION', required
- `sectionId` string, uuid
- `questionId` string, uuid
- `filter` 'ALL_QUESTIONS' | 'UNANSWERED_QUESTIONS' | 'REQUIRED_QUESTIONS' | 'REQUIRED_UNANSWERED_QUESTIONS' | 'EFFECTIVENESS_SCALE_QUESTIONS'

## Response `200`

OK

- PrivacyAutomationAssessmentAutomationUnansweredQuestionInformationDto
  - `sectionId` string, uuid
  - `questionId` string, uuid
  - `position` 'UNDEFINED' | 'FIRST' | 'MIDDLE' | 'LAST'
  - `assessmentProgressInformation` PrivacyAutomationAssessmentAutomationAssessmentProgressInformation
    - `totalQuestions` integer
    - `respondedQuestions` integer
    - `flaggedQuestions` integer

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/privacy-automation-assessment-automation.md) - [All operations](https://skmtc.dev/onetrust/apis/privacy-automation-assessment-automation/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/privacy-automation-assessment-automation/revisions/fbdf0c71bfe5?raw)
