List the project's survey responses
curl --request GET \
--url https://{host}/api/public/feedback/projects/{projectId} \
--header 'x-api-key: <x-api-key>'{
"success": true,
"data": {
"responses": [
{
"response_id": "<string>",
"survey": "<string>",
"survey_id": "<string>",
"rating": 123,
"rating_type": "thumbs",
"submitted_at": "2023-11-07T05:31:56Z",
"session_id": "<string>",
"channel": "<string>",
"response_source": "<string>",
"has_comment": true,
"comment_length": 1,
"comment": "<string>"
}
],
"nextCursor": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}List survey response
List the project’s survey responses
GET
/
api
/
public
/
feedback
/
projects
/
{projectId}
List the project's survey responses
curl --request GET \
--url https://{host}/api/public/feedback/projects/{projectId} \
--header 'x-api-key: <x-api-key>'{
"success": true,
"data": {
"responses": [
{
"response_id": "<string>",
"survey": "<string>",
"survey_id": "<string>",
"rating": 123,
"rating_type": "thumbs",
"submitted_at": "2023-11-07T05:31:56Z",
"session_id": "<string>",
"channel": "<string>",
"response_source": "<string>",
"has_comment": true,
"comment_length": 1,
"comment": "<string>"
}
],
"nextCursor": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Returns a page of responses with an opaque keyset cursor, with the oldest response first. The cursor is keyset (timestamp, response_id) rather than an offset, so a client polling forward through history never skips a response or sees one twice as new rows arrive. No per-response score is returned: a score is a property of a population, not of one answer. Requires the
feedback-survey:read permission.Query Parameters
Was this page helpful?