Export surveys
GET/:customer_id/groups/:group_id/surveys/answers
Export all survey answers for all users in a group
Request
Path Parameters
customer_id Customer Idrequired
Id of the tenant
group_id Group Idrequired
Id of the group
Query Parameters
limit Limit
Possible values: <= 1000
Default value: 100
Pagination. Max number of entries returned.
offset Offset
Pagination. Offset.
Responses
- 200
- 400
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]required
completed_survey_id Completed Survey Idrequired
The id of the completed survey
external_id External Idrequired
The external id of the user
username Usernamerequired
The username of the user
uid uuidrequired
The uid of the user
utc_time date-timerequired
The UTC time of the survey completion
local_time date-timerequired
The local time of the survey completion
survey_id Survey Idrequired
The id of the survey
survey_title Survey Titlerequired
The title of the survey
question_id Question Idrequired
The id of the question
question_title Question Titlerequired
The title of the question
numeric_answer Numeric Answernullablerequired
The numeric answer (if applicable to the question)
text_answer Text Answernullablerequired
The text answer (if applicable to the question)
{
"data": [
{
"completed_survey_id": "string",
"external_id": "string",
"username": "string",
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"utc_time": "2024-12-03T11:32:12.527Z",
"local_time": "2024-12-03T11:32:12.527Z",
"survey_id": "string",
"survey_title": "string",
"question_id": "string",
"question_title": "string",
"numeric_answer": 0,
"text_answer": "string"
}
]
}
Validation error
- application/json
- Schema
- Example (from schema)
Schema
message Messagerequired
errors undefined[]nullablerequired
{
"message": "string",
"errors": [
null
]
}
Loading...