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
  • Question by id
  • Request Return type
  1. REST API
  2. Questions

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

Name
Type
Description

id

string

Question id

Query Parameters

Name
Type
Description

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

Name
Type
Description

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"
}
{
    "error": "Question inaccessible    Error id : 1583414902648/mOXsfkd7."
}

Request Return type

PreviousGET QuestionsNextSurveys

Last updated 4 years ago

Returns

Question Data object