Public Access Links
Creating a Link
Changed onTo create a new Public Access Link to this Form, you must send at least a displayName for the resulting Actor. You may also provide once: true if you want to create a link that can only be filled by each respondent once. This setting is enforced by Enketo using local device tracking; the link is still distributable to multiple recipients, and the enforcement can be defeated by using multiple browsers or devices.
You may also optionally provide a properties object to set pre-registered Actor Property values on the Link at creation time.
post/v1/projects/{projectId}/forms/{xmlFormId}/public-links
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/projects/{projectId}/forms/{xmlFormId}/public-links
- Authnone declared
Path parameters
projectIdnumber required
The numeric ID of the Project
xmlFormIdstring required
The xmlFormId of the Form being referenced.
Request body */*
Example request
{
"displayName": "my public link",
"once": false,
"properties": {
"region": "North"
}
}Response
OK
Changes
- info
added the new optional request property
- info
- info
api operation id
Creating a Linkremoved and replaced withcreateLink
- info