GET
/
api
/
v1
/
analytics
/
exports
/
lookups
/
surveys
Get surveys (with modules)
curl --request GET \
  --url https://appex.userpilot.io/api/v1/analytics/exports/lookups/surveys \
  --header 'Authorization: <authorization>'
[
  {
    "display_name": "Survey A",
    "key": "survey_a",
    "data_type": "string"
  }
]

Headers

Authorization
string
required

API authentication token in the format: Token {{API_KEY}}. Obtain your API key from the Userpilot Environment Settings.

Response

200 - application/json

A list of surveys (with modules).

The response is of type object[].