Update a submission answer

Set an answer for a published question. The value must pass that question’s validation.


PATCH/api/v1/forms/{formId}/submissions/{submissionId}/answer

Authorization

Authorization required string · header
Send Bearer <token> with an account API key that has the submissions:write scope.

Path parameters

formId required string
Form ID. See FormModel.
submissionId required string
The 24-character hexadecimal submission ID. See SubmissionModel.

Request body

application/json

fieldId required string
ID of a published question. See FormField.
value required AnswerValue
The answer value for the field’s type. See AnswerValue.

Response

200 · application/json

Source model: SubmissionModel.

FieldTypeDescription
idstringID returned by the operation.
updatedbooleanWhether the update succeeded.