GET Questions

Questions

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

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

Query Parameters

NameTypeDescription

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

NameTypeDescription

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

Last updated