Feedbackly
v.5.0.2
v.5.0.2
  • Getting started
  • REST 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
    • Notes
      • Entity relationships
      • Pagination
      • Question types
  • Website widgets
    • Getting started
    • Attaching custom metadata to responses
    • Triggering surveys via custom properties
    • Debugging website widgets
Powered by GitBook
On this page
  • Questions
  • Request Return type
  1. REST API
  2. Questions

GET Questions

Questions

GET https://api.feedbackly.com/v5.0.2/questions

This endpoint returns the questions of all surveys accessable from your account

Query Parameters

Name
Type
Description

skip

number

Number of documents to skip from the start

preferredLanguage

string

Preferred language to show the question titles in eg. 'en'. If the specified language is not available, it will default to the first available language

questionId

array

Filter by question ids

surveyId

array

Survey ids related to the question

Headers

Name
Type
Description

Authorization

string

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

{
    "data": [
        {
            "_id": "59b8de984084087cd3346743",
            "title": "Which meat did you buy?",
            "choicesString": [
                "Lamb",
                "Beef",
                "Pork"
            ],
            "questionType": "Word",
            "languages": [
                "en"
            ],
            "language": "en",
            "choices": [
                {
                    "fieldId": "1",
                    "fieldName": "Lamb"
                },
                {
                    "fieldId": "59b8deaa4084087cd3346744",
                    "fieldName": "Beef"
                },
                {
                    "fieldId": "59b8deac4084087cd3346745",
                    "fieldName": "Pork"
                }
            ],
            "surveyId": "59b8de18784d2f0001a1590d"
        },
    ],
    "paging": {
        "next": "https://api.feedbackly.com/v5/questions?preferredLanguage=en&skip=100",
        "previous": null
    }
}

Request Return type

Field

Type

Example

Description

data

Question objects

paging

Pagination object

PreviousQuestionsNextGET Question by id

Last updated 4 years ago

[]

Pagination
Question Data object