Update Survey Response
update_survey_responseUpdates an existing response addressed by PersonalizedID; the response must exist, otherwise 'Result case not found.'. MERGE semantics: only the questions addressed in Items are changed, unmentioned answers stay as they are. IsCompleted is applied only when explicitly sent and never reverts a completed response; the completion date is set by the server. Verified by readback: the response is re-read from the survey's stored data afterwards and the reply reports the values that are actually stored for the variables you sent. That read costs one heavy-class request. Note: updating a response may fire the survey's configured ResponseRecieved webhooks, which send outbound HTTPS to the subscriber's external endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Survey publication code — the 8-character code from the survey's public link (e.g. 1a2b3c4d). Returned by list_surveys. | |
| resultCase | Yes | The update: personalizedID (required — the response to change), items — the answers to merge, and optionally isCompleted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | What the call did, verified, refused or previewed — the complete human-readable outcome. | |
| preview | No | true when the call was a preview (confirm not passed): nothing was changed. |