Skip to main content

Get a response

GET 

/v3/responses/:id

Get a response

Request

Path Parameters

    id numberrequired

    Id of response

Query Parameters

    survey_id numberrequired
    preserve_format boolean
    response_url boolean

Responses

Successful

Schema

    data

    object

    id number

    Id of response

    survey_id number

    Id of Survey

    contact_id number
    completed string

    Status of the submission

    channel_id number

    Id of channel

    language string

    Language of the response

    completed_time date

    Time at which response completed

    answers

    object[]

  • Array [

  • question string
    question_tags string[]

    Question tags

    question_id number
    skipped boolean

    Is the question skipped?

    sentiment_value number

    Sentiment value of the text answer

    sentiment_label string

    Overall sentiment label of the text answer

    enrich_type string

    Enrich type. CLASSIFICATION, KEYWORD_EXTRACTION, ENTITY_EXTRACTION and TOPIC_EXTRACTION return an array; SUMMARY, SENTIMENT, TRANSLATION, CUSTOM_PROMPT and ENRICH_FORMULA return a single value

    output_datatype string

    Configured output datatype - STRING, NUMBER or BOOLEAN

    error boolean

    Present only when the value could not be generated; the answer is then empty

    error_reason string

    Possible values: [AI_PROCESSING_FAILED, AI_CREDITS_EXHAUSTED, NO_INPUT_FOUND, PLAN_UPGRADE_REQUIRED]

    Why the Enrich value is missing

    credit_exhausted boolean

    Present only when generation stopped because AI credits ran out

  • ]

  • channel

    object

    name string

    Name of the share

    type string

    Type of channel

    status string

    Status of channel

Loading...