Feedbackly
v. 5.0.3
v. 5.0.3
  • Getting started
  • Fetch API
    • Authentication
    • Responses
      • GET Responses
      • GET Response by id
    • Response chains
      • GET Response-chains
      • GET Response-chain by id
    • Questions
      • GET Questions
      • GET Question by id
    • Surveys
      • GET Surveys
      • GET Surveys by id
    • Touchpoints
      • GET Touchpoints
      • GET Touchpoint by id
    • Unsubscriptions
      • GET Unsubscriptions
      • GET Unsubscriptions by Channel id
    • Notes
      • Entity relationships
      • Pagination
      • Question types
  • Dispatch API
    • Authentication
    • Preparing Campaign
    • Sending Surveys
      • POST Trigger
  • Website widgets
    • Getting started
    • Attaching custom metadata to responses
    • Triggering surveys via custom properties
    • Widget Hooks
    • Setting the language
    • Debugging website widgets
Powered by GitBook
On this page
  • Surveys
  • Request return type
  1. Fetch API
  2. Surveys

GET Surveys

Surveys

GET https://api.feedbackly.com/v5.0.3/surveys

This endpoint returns all available surveys with the questions embedded

Query Parameters

Name
Type
Description

skip

number

Number of documents to skip from the start

preferredLanguage

string

Preferred language to show the titles in

Headers

Name
Type
Description

Authorization

string

Authentication token to access the API eg: 'Authorization': 'ey0iuefg.834xcunerun348efnsd'

{
 "data": [
  {
    "_id": "589c16e487ef9860199cab3c",
    "name": "Example",
    "createdBy": "Admin",
    "teamId": "5dc56d54b7c935069aefa9e2",
    "teamName": "My team name",
    "languages": ["en"],
    "archived": false,
    "questions": [
      {
        "_id": "5a3b47d0e90828878851a1f5",
        "title": "Contact form",
        "subtitle": "Please type in your details",
        "choicesString": [
            "EMAIL",
            "PHONE"
        ],
        "questionType": "Contact",
        "languages": [
            "en"
        ],
        "language": "en",
        "choices": [
            {
                "fieldId": "5a3c353aecee8cb220b0270c",
                "fieldName": "EMAIL",
                "type": "string",
                "subType": "email"
            },
            {
                "fieldId": "5a3c353eecee8cb220b0270d",
                "fieldName": "PHONE",
                "type": "string",
                "subType": "tel"
            }
        ],
        "surveyId": "5a3b47c946d70600010fe412"
      }
    ]
  }
 ],
 "paging": {
     "next": null,
     "previous": null
 }
}

Request return type

Field

Type

Example

Description

data

Survey data objects

paging

Pagination object

PreviousSurveysNextGET Surveys by id

Last updated 4 years ago

[]

Pagination
Survey data object