Create an upload link for an Advanced Form submission
Description:
Creates a subfolder under the form owner's folder for the submission, then returns an upload link that the Advanced Form client can use to upload the submitted files.Precondition:
Caller must be an Advanced Forms client. The authenticated user must be the form owner.Response:
Returns an upload link pointing to the newly created submission subfolder.The unique identifier (UUID) of the entity.
Name of the subfolder to create under the form owner's folder for this submission.
Email address of the user submitting the form. Pass null to create an anonymous submission.
The submission subfolder and upload link have been successfully created.
Upload ref
Date and time when the upload link was created.
Unique identifier of the parent folder where files will be uploaded.
Total size of the upload in bytes.
Relative URI of the upload link.
The complete URL for the upload link.
Unauthorized
Possible error codes: ERR_AUTH_INVALID_CSRF, ERR_AUTH_UNAUTHORIZED
Error code
Error message
Forbidden
Possible error codes: ERR_ACCESS_USER, ERR_ACCESS_CLIENT
Error code
Error message
Not Found
Possible error codes: ERR_ENTITY_NOT_FOUND
Error code
Error message
Unprocessable Content
Possible error codes: ERR_INPUT_INVALID_FORMAT
Error code
Error message
Request blocked by WAF
curl -X POST \
"https://{instance}.kiteworks.com/rest/advancedForms/:id/submissions" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"submitter": "string"
}'import requests
id = "VALUE" # The unique identifier (UUID) of the entity.
url = f"https://{{instance}}.kiteworks.com/rest/advancedForms/{id}/submissions"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json",
}
payload = {
"name": "string",
"submitter": "string"
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())