Skip to main content
GET
https://listenlabs.ai
/
api
/
public
/
list_surveys
curl 'https://listenlabs.ai/api/public/list_surveys' \
-H 'x-id: <id_token>'
[
  {
    "id": "12345678-0000-0000-0000-000000000000",
    "link_id": "study-1",
    "title": "Example study",
    "created_at": "2023-09-02T07:07:17.960725+00:00",
    "desc": "Example study (12 Responses)"
  },
  {
    "id": "23456789-0000-0000-0000-000000000000",
    "link_id": "study-2",
    "title": "Example study 2",
    "created_at": "2023-09-01T07:07:17.960725+00:00",
    "desc": "Example study 2 (9 Responses)"
  }
]

Response

Returns a list of studys. Each study is an object with the following fields:
id
uuid
Permanent unique identifier for the study.
The link id of the study. This is editable in the study settings so it might change.
title
string
The title of the study.
created_at
string
UTC timestamp of when the study was created.
desc
string
A description of the study. Eg. “My study (10 Responses)”
curl 'https://listenlabs.ai/api/public/list_surveys' \
-H 'x-id: <id_token>'
[
  {
    "id": "12345678-0000-0000-0000-000000000000",
    "link_id": "study-1",
    "title": "Example study",
    "created_at": "2023-09-02T07:07:17.960725+00:00",
    "desc": "Example study (12 Responses)"
  },
  {
    "id": "23456789-0000-0000-0000-000000000000",
    "link_id": "study-2",
    "title": "Example study 2",
    "created_at": "2023-09-01T07:07:17.960725+00:00",
    "desc": "Example study 2 (9 Responses)"
  }
]