Within a form’s metadata there is an
instanceID field which is globally unique.
This field comes through the Form Data API, within the metadata JSON object.
You can find the submitted data in the HQ Web App in a couple of ways, including the Find Data by ID feature, or more dynamically by generating a URL like
Although it’s not an API level promise that those URL’s won’t change in the future, today it’s a quick way to link to the data.
One side-note: When used in conjunction with Data Cleaning, CommCareHQ have more than one record with the same Instance ID (the instance ID represents a single mobile user transaction, effectively). In this case there will be another GUID associated with the ‘live’ version of that form. In this case there is a top-level field in the Form API labeled “id,” this id is the id for the exact form instance in HQ, and will change if a form is cleaned (it can also differ if duplicate submissions are received from the mobile device due to network issues). Generally speaking the latest form will have a matching instance_id and id field, and the historical (archived/deprecated) copy will receive a new **id. **
Which of these two ID’s is the one you are looking for may depend on your use case.