---
updatedAt: 2026-06-09T16:19:20.000Z
agentTools:
  projectIndex: https://docs.smartsurvey.io/llms.txt
---

# Get All

Gets all Responses with paging. If you are using the Organisation Hierarchy feature, each response recorded against an entity also carries `entity_name`, `entity_unique_id` and an `entity` object listing every entity field defined for your organisation with the value that applies to that entity, inherited from its parent entities where the entity itself holds none.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "SS Public API",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://{host}/v2",
      "description": "Select the host for the region your account's data is stored in.",
      "variables": {
        "host": {
          "default": "api.smartsurvey.io",
          "description": "The regional hostname for your account.",
          "enum": [
            "api.smartsurvey.io",
            "api-eu.smartsurvey.io",
            "api-us.smartsurvey.io"
          ]
        }
      }
    }
  ],
  "paths": {
    "/surveys/{surveyId}/responses": {
      "get": {
        "tags": [
          "SurveyResponses"
        ],
        "summary": "Get All",
        "description": "Gets all Responses with paging. If you are using the Organisation Hierarchy feature, each response recorded against an entity also carries `entity_name`, `entity_unique_id` and an `entity` object listing every entity field defined for your organisation with the value that applies to that entity, inherited from its parent entities where the entity itself holds none.",
        "parameters": [
          {
            "name": "surveyId",
            "in": "path",
            "description": "The survey id whose Responses you are querying",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The 1-based page number",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "description": "The number of results you want up to 100",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "description": "Optional list of properties that you want to sort by",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "completed",
            "in": "query",
            "description": "Whether to only include completed responses",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "translation_id",
            "in": "query",
            "description": "The translation for the results - defaults to English",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "since",
            "in": "query",
            "description": "Unix timestamp to filter results after a date/time",
            "schema": {
              "type": "integer",
              "format": "int64",
              "default": 0
            }
          },
          {
            "name": "until",
            "in": "query",
            "description": "Unix timestamp to filter results before a date/time",
            "schema": {
              "type": "integer",
              "format": "int64",
              "default": 0
            }
          },
          {
            "name": "filter_id",
            "in": "query",
            "description": "Optional filter id for the results",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "tracking_link_id",
            "in": "query",
            "description": "Tracking link id to filter results",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "unique_id",
            "in": "query",
            "description": "Filter on the user unique id",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "include_labels",
            "in": "query",
            "description": "Whether to include question and page labels (reduces the size of the response)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Helpers.PaginatedListDetailedResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Helpers.PaginatedListDetailedResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Helpers.PaginatedListDetailedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Helpers.PaginatedListDetailedResponse"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SmartSurvey.Public.API.Helpers.PaginatedListDetailedResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Survey or Response not found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Microsoft.AspNetCore.Mvc.ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when\r\ndereferenced, it provide human-readable documentation for the problem type\r\n(e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be\r\n\"about:blank\".",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence\r\nof the problem, except for purposes of localization(e.g., using proactive content negotiation;\r\nsee[RFC7231], Section 3.4).",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "description": "A human-readable explanation specific to this occurrence of the problem.",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.",
            "nullable": true
          }
        },
        "additionalProperties": {},
        "description": "A machine-readable format for specifying errors in HTTP API responses based on <see href=\"https://tools.ietf.org/html/rfc7807\" />."
      },
      "SmartSurvey.Public.API.Helpers.PaginatedListDetailedResponse": {
        "type": "object",
        "properties": {
          "records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Responses.DetailedResponse"
            },
            "description": "Gets or sets the results.",
            "nullable": true,
            "readOnly": true
          },
          "page_index": {
            "type": "integer",
            "description": "Gets or sets the index of the page.",
            "format": "int32",
            "readOnly": true
          },
          "pages": {
            "type": "integer",
            "description": "Gets or sets the total pages.",
            "format": "int32",
            "readOnly": true
          },
          "page_size": {
            "type": "integer",
            "description": "Gets or sets the size of the page.",
            "format": "int32",
            "readOnly": true
          },
          "total": {
            "type": "integer",
            "description": "Gets or sets the total number of records.",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false,
        "description": "Paginated List helper copied from API Core and tweaked for new API"
      },
      "SmartSurvey.Public.API.Models.Responses.DetailedResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "survey_id": {
            "type": "integer",
            "format": "int32"
          },
          "tracking_link_id": {
            "type": "integer",
            "format": "int32"
          },
          "translation_id": {
            "type": "integer",
            "format": "int32"
          },
          "unique_id": {
            "type": "string",
            "nullable": true
          },
          "date_started": {
            "type": "string",
            "format": "date-time"
          },
          "date_ended": {
            "type": "string",
            "format": "date-time"
          },
          "date_modified": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "contact_name": {
            "type": "string",
            "nullable": true
          },
          "contact_email": {
            "type": "string",
            "nullable": true
          },
          "contact_invitation_id": {
            "type": "integer",
            "format": "int32"
          },
          "ip_address": {
            "type": "string",
            "nullable": true
          },
          "user_agent": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "entry_url": {
            "type": "string",
            "nullable": true
          },
          "referer_url": {
            "type": "string",
            "nullable": true
          },
          "edit_url": {
            "type": "string",
            "nullable": true
          },
          "saved": {
            "type": "boolean"
          },
          "saved_name": {
            "type": "string",
            "nullable": true
          },
          "saved_email": {
            "type": "string",
            "nullable": true
          },
          "saved_continue_url": {
            "type": "string",
            "nullable": true
          },
          "current_page_id": {
            "type": "integer",
            "format": "int32"
          },
          "page_path": {
            "type": "string",
            "nullable": true
          },
          "manual_entry": {
            "type": "boolean"
          },
          "total_score": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "href": {
            "type": "string",
            "nullable": true
          },
          "variables": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Shared.Models.API.Variable"
            },
            "nullable": true
          },
          "contact_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Shared.Models.API.CustomColumn"
            },
            "nullable": true
          },
          "pages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Shared.Models.API.Page"
            },
            "nullable": true
          },
          "entity_id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "entity_name": {
            "type": "string",
            "description": "The name of the entity the response was recorded against. Omitted when the response has no entity.",
            "nullable": true
          },
          "entity_unique_id": {
            "type": "string",
            "description": "The unique code of the entity the response was recorded against. Omitted when the response has no entity.",
            "nullable": true
          },
          "entity": {
            "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Responses.ResponseEntity"
          }
        },
        "additionalProperties": false,
        "description": "A response with its pages, questions and answers, plus the Organisation Hierarchy entity it was recorded\r\nagainst when your account uses that feature."
      },
      "SmartSurvey.Public.API.Models.Responses.ResponseEntity": {
        "type": "object",
        "properties": {
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Public.API.Models.Responses.ResponseEntityField"
            },
            "description": "Every entity field defined for your organisation, each with the value that applies to this response's entity.\r\nWhere the entity itself holds no value, the value is inherited from the nearest parent entity that does.\r\nAn empty string means no value is held by the entity or any of its parents.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The Organisation Hierarchy entity a response was recorded against, with the entity field values that apply to it."
      },
      "SmartSurvey.Public.API.Models.Responses.ResponseEntityField": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The field name as configured for your organisation, for example `FFT Category`.",
            "nullable": true
          },
          "value": {
            "type": "string",
            "description": "The value that applies, or an empty string when neither the entity nor any of its parents holds one.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "One entity field and the value that applies to the response's entity."
      },
      "SmartSurvey.Shared.Models.API.AnswerDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "choice_title": {
            "type": "string",
            "nullable": true
          },
          "choice_id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "choice_score_value": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "row_title": {
            "type": "string",
            "nullable": true
          },
          "row_id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "column_title": {
            "type": "string",
            "nullable": true
          },
          "column_id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "column_score_value": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "dropdown_title": {
            "type": "string",
            "nullable": true
          },
          "dropdown_id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "dropdown_score_value": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "group_id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "group_title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.Models.API.CustomColumn": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.Models.API.Page": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "position": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "total_score": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "questions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Shared.Models.API.QuestionDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.Models.API.QuestionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "sub_type": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "position": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "total_score": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "answers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SmartSurvey.Shared.Models.API.AnswerDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartSurvey.Shared.Models.API.Variable": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "description": "Basic Authorization",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "Basic": []
    }
  ]
}
```