Skip to main content

List Surveys

GET/v2/project/{project_key}/surveys

The project's on-site surveys, with how many people saw and answered each.

Query parameters​

ParameterTypeRequiredDescription
statusstringnoOnly surveys in this status: draft, live, paused, ended or archived
include_archivedbooleannotrue also lists archived surveys. They are left out otherwise

Example​

curl "https://api-{region}.mida.so/v2/project/YOUR_PROJECT_KEY/surveys" \
-H "Authorization: Bearer YOUR_GENERATED_API_KEY"

Success response​

{
"success": true,
"allowed": true,
"reason": "",
"surveys": [
{
"survey_id": 42,
"name": "Who is visiting",
"status": "live",
"questions": 3,
"trigger": "time",
"shown": 299,
"answered": 8,
"created_at": "2026-10-22T03:10:00.000Z",
"started_at": "2026-10-22T03:15:00.000Z",
"ended_at": null
}
]
}

shown counts visitors the survey was shown to, and answered those who answered at least one question. allowed is false, with a reason, when the account's plan does not include surveys.

Error responses​

StatusMeaning
401Invalid or missing API key
403Surveys need a paid plan, or the key's user is a Viewer (for changes)
404Project or survey not found. A survey from another project is not found