Skip to main content
GET
/
reports
/
surveys
Get customer satisfaction report
curl --request GET \
  --url https://{your-workspace}.neetodesk.com/api/v1/public/reports/surveys \
  --header 'X-Api-Key: <x-api-key>'
{
  "surveys": [
    {
      "id": "<string>",
      "name": "<string>",
      "question": "<string>",
      "choices": [
        {
          "name": "<string>",
          "count": 123,
          "slug": "<string>"
        }
      ]
    }
  ]
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Query Parameters

range_type
enum<string>
default:last_7_days

Time range for the report. Use custom with start_date and end_date for custom date ranges.

Available options:
last_7_days,
last_30_days,
last_24_hours,
this_week,
last_week,
this_month,
last_month,
this_quarter,
last_quarter,
this_year,
last_year,
all_time,
custom
start_date
string<date>

Start date for custom date range (YYYY-MM-DD format). Required when range_type is custom.

Example:

"2025-10-01"

end_date
string<date>

End date for custom date range (YYYY-MM-DD format). Required when range_type is custom.

Example:

"2025-10-31"

Response

200 - application/json

OK - Request succeeded

surveys
object[]