Skip to main content

Submit a survey

POST 

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

Submit the results of a survey

Request

Path Parameters

    customer_id Customer Idrequired

    Id of the tenant

    uid uuidrequired

    Id of the user

    survey_id Survey Idrequired

Body

required
    answers objectrequired
    property name* SurveyAnswer
    numeric_answer object nullable

    Answer value when the question was of numeric type

    anyOf

    integer

    text_answer Text Answernullable

    Answer value when the question was of text type

    answer_id Answer Idnullable

    Answer value when the question was of single_choice or single_choice_with_other type

    answer_ids string[]nullable

    Answer ids value when the question was of multiple_choice or multiple_choice_with_other type

    other_answer Other Answernullable

    Answer value when the question was of single_choice_with_other or multiple_choice_with_other type and the answer was other

    completed_at date-timerequired

Responses

Schema
    submission_id Submission Idrequired
Loading...