GET Question by id

Question by id

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

Gets a specific question by id

Path Parameters

NameTypeDescription

id

string

Question id

Query Parameters

NameTypeDescription

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

Headers

NameTypeDescription

Authorization

string

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

{
    "_id": "58d8d547b8c71e000e3824fc",
    "title": "How likely are you to recommend us to a friend or colleague?",
    "subtitle": "0=Not likely at all 10=Extremely likely",
    "choicesString": [],
    "questionType": "NPS",
    "languages": [
        "en",
        "es",
        "af"
    ],
    "language": "en",
    "choices": [],
    "surveyId": "58d8d3d14cb016000e203e0e"
}

Request Return type

Returns Question Data object

Last updated