Zum Hauptinhalt springen
GET
/
export
/
survey
Export survey responses
curl --request GET \
  --url https://demo.enneo.ai/api/mind/export/survey \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 12,
    "audience": "agent",
    "scale": 5,
    "answerStars": 4,
    "createdAt": "2024-05-03 08:00:00",
    "submittedAt": "2024-05-03 08:02:51"
  }
]

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Abfrageparameter

format
enum<string>

Export format. Defaults to the backend defaultDateExportFormat setting.

Verfügbare Optionen:
xlsx,
csv,
json
limit
integer
Standard:100

The number of items to return

Erforderlicher Bereich: 1 <= x <= 1000
offset
integer
Standard:0

The number of items to skip

Erforderlicher Bereich: x >= 0
orderByField
string

Column used to order the result set (e.g. submittedAt).

orderByDirection
enum<string>
Standard:desc

Sort direction applied to orderByField.

Verfügbare Optionen:
asc,
desc

Antwort

Export scheduled or returned successfully.

id
integer
audience
string
scale
integer
answerStars
integer | null
createdAt
string<date-time>
submittedAt
string<date-time>
Beispiel:
[
{
"id": 12,
"audience": "agent",
"scale": 5,
"answerStars": 4,
"createdAt": "2024-05-03 08:00:00",
"submittedAt": "2024-05-03 08:02:51"
}
]