---
title: "Get Survey Answers"
method: GET
path: "/training/analytics/v1/surveys/answers"
tags: ["Training"]
---

# Get Survey Answers

`GET /training/analytics/v1/surveys/answers`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/training/analytics/v1/surveys/answers`
- Auth: HTTP bearer

Retrieves all survey answers from users in your organization.

## Query parameters

- `pageSize` integer
- `page` integer
- `courseId` string
- `courseExternalId` string
- `lessonId` string
- `lessonExternalId` string
- `userId` string
- `userExternalId` string
- `startDatetime` string, date-time
- `endDatetime` string, date-time

## Response `200`

A successful response.

- S12TrainingAnalyticsV1GetSurveyAnswersResponse
  - `totalCount` integer: The total number of survey answers matching the request
  - `items` S12TrainingAnalyticsV1SurveyAnswer[]: List of survey answers
    - `userExternalId` string: External ID of the user
    - `attemptId` string: ID of the attempt
    - `questionId` string: ID of the question
    - `questionContent` string: Content within the question
    - `answerDefinitionId` string: ID of the answer definition
    - `answerContent` string: Content within the answer
    - `answerDatetime` string, date-time: Date time the user answered

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/safetyculture/apis/safetyculture-api.md) - [All operations](https://skmtc.dev/safetyculture/apis/safetyculture-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safetyculture/apis/safetyculture-api/revisions/eb6bb843bf18?raw)
