Update a submission. Requires forms-write
ability.
Modify an existing submission’s answers. This endpoint is useful when you want to correct values or enrich a submission after it was created.
Requires forms-write
ability.
Parameter | Type | Description |
---|---|---|
id | number | ID of the parent form. |
submission_id | number | ID of the submission you want to update. |
The payload should be an object whose keys correspond to the field IDs in the form definition. You only need to send the fields you intend to change. Other special meta-fields:
Field | Type | Description |
---|---|---|
completion_time | integer | Optional; total time in seconds. |
Example (updating two answers):
200 OK
– Returns the updated Submission
object plus a success message.
403 Forbidden
– Token lacks forms-write
or you do not have permission.
Personal Access Token
Updated
The response is of type object
.