Updates a response in the database.
Use your Formbricks x-api-key to authenticate.
The ID of the response The ID of the response
The response to update
Response updated successfully.
The ID of the response
The date and time the response was created
"2021-01-01T00:00:00.000Z"
The date and time the response was last updated
"2021-01-01T00:00:00.000Z"
Whether the response is finished
true
The ID of the survey
The ID of the contact
The ID of the ending
The data of the response
{
"question1": "answer1",
"question2": 2,
"question3": ["answer3", "answer4"],
"question4": { "subquestion1": "answer5" }
}The variables of the response
{ "variable1": "answer1", "variable2": 2 }The TTC of the response
{ "question1": 10, "question2": 20 }The meta data of the response
{
"source": "https://example.com",
"url": "https://example.com",
"userAgent": {
"browser": "Chrome",
"os": "Windows",
"device": "Desktop"
},
"country": "US",
"action": "click"
}The attributes of the contact
{
"attribute1": "value1",
"attribute2": "value2"
}The single use ID of the response
The language of the response
"en"
The display ID of the response