Skip to content
PUT

Update response

PUT{{API_BASE_URL}}/survey/v1/surveys/:surveyId/responses/:responseId

This endpoint is used to update a survey response.

Request

Request Body

  • answers (array): An array of objects containing the response to each question in the survey. Each object includes:

    • question (string): The unique identifier of the question.

    • value (string): The response value to the question.

Response

  • data (object): The main data object containing the updated survey response details.

    • id (string): The ID of the updated survey response.

    • surveyId (string): The ID of the survey associated with the response.

    • answers (array): An array of updated answers for the survey questions.

    • invalidAnswers (array): An array of any invalid answers submitted in the response

Authentication#auth

Requires a bearer token with the matching scope. Mint via OAuth 2.0 client credentials and send it in the Authorization header.

Responses#responses

200OKUpdate response