Skip to main content

Get survey contents

GET 

/:customer_id/users/:uid/surveys/:survey_id

Get the contents of a survey

Request

Path Parameters

    customer_id Customer Idrequired

    Id of the tenant

    uid uuidrequired

    Id of the user

    survey_id Survey Idrequired

Query Parameters

    lang Lang

    Default value: en

    Langauge code. Ex: en-US

Responses

Schema
    id Idrequired
    title Titlerequired
    description Descriptionrequired
    questions object[]required
  • Array [
  • id Idrequired
    title Titlerequired

    Title of the question

    text Textrequired

    Complementary text to the question

    answer_type Answer Typerequired

    Possible values: [numeric, text, single_choice, single_choice_with_other, multiple_choice, multiple_choice_with_other]

    options object[]nullablerequired
  • Array [
  • id Idrequired
    text Textrequired
  • ]
  • extras object nullable

    Optional extra details about the question

    anyOf
    subtype Subtyperequired

    Possible values: [slider]

    min Minrequired
    max Maxrequired
    step Steprequired
  • ]
Loading...