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>'
[
  {
    "id": 45,
    "title": "CSAT Survey",
    "platform": "web",
    "modules": [
      {
        "id": 1,
        "order": 1,
        "type": "open_text",
        "question": "How was it?"
      }
    ]
  }
]

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[].