v51

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0118684573.2 KB
Submission Versions

Getting Version Details

Returns metadata about a particular version of the submission. As with the normal submission endpoint, you'll only get metadata in JSON out of this route. If you want to retrieve the XML, add .xml.

This endpoint supports retrieving extended metadata; provide a header X-Extended-Metadata: true to return a submitter data object alongside the submitterId Actor ID reference.

get/v1/projects/{projectId}/forms/{xmlFormId}/submissions/{instanceId}/versions/{versionId}

Path parameters

projectIdnumber required

The numeric ID of the Project

xmlFormIdstring required

The xmlFormId of the Form being referenced.

instanceIdstring required

The instanceId of the Submission being referenced.

versionIdstring required

The instanceId of the particular version of this submission in question.

Response

This is the Extended Metadata response, if requested via the appropriate header:

instanceIdstring required

The instanceId of the Submission version, given by the Submission XML.

instanceNamestring

The instanceName, if any, given by the Submission XML in the metadata section.

submitterIdnumber required

The ID of the Actor (App User, User, or Public Link) that submitted this Submission version.

deviceIdstring

The self-identified deviceId of the device that submitted the Submission version.

userAgentstring

The self-identified userAgent of the device that submitted the Submission version.

createdAtstring required

ISO date format. The time that the server received the Submission version.

currentboolean required

Whether the version is current or not.

Example response

{
  "instanceId": "uuid:85cb9aff-005e-4edd-9739-dc9c1a829c44",
  "instanceName": "village third house",
  "submitterId": 23,
  "deviceId": "imei:123456",
  "userAgent": "Enketo/3.0.4",
  "createdAt": "2018-01-19T23:58:03.395Z",
  "current": true
}