How Do I Add External Documents to Forms?
When printing or e-signing a document, external PDF documents (attachments) can be included with the forms (e.g. drivers license photocopy, scanned documents, etc.). To perform this function for each attachment, use the attachments/upload endpoint to add the documents to your UNID.
NOTES:
The Quik! Forms Engine Execute method must be run before uploading documents in order to obtain a UNID value to associate the external document to.
Attachments must not exceed 20 MB
Security
Each document uploaded to the Quik! server is systematically encrypted during transmission and storage with a unique key per document using standard 128+bit encryption algorithms. Documents are never in the possession or available to any employee or other customer – the documents can only be un-encrypted during the process of including them into the final form package for print or signing purposes. Additionally, all documents are deleted from the server in 10 days or less, per the form package's expiration date set by the customer.
Swagger Page: Swagger UI
Attachment Endpoints:
Service | URL | TYPE | Service Description | Parameters |
---|---|---|---|---|
Get Attachments | /attachments | GET | Get all attachments associated with a UNID |
|
Upload Attachments | /attachments/upload | POST | Upload an attachment file to a specified UNID |
If FALSE, all attachments are placed in the middle or at the end of the package when printed or shown in DocuSign. Each form in a package has a “position” which is the order they were generated in. An attachment is placed in the order with the EXAMPLE If a customer wants more than one Attachment in the same position in a package, then they must upload every attachment with the same |
Delete Attachments | /attachments/{id}/remove | DELETE |
|
|
Required Parameters
The parameters needed for each document include:
Parameter | Description | Required |
UNID | The UNID representing the form package that the document is to be attached to when signing. This value is obtained from the Quik! Forms Engine after running the Execute command. | Yes |
Name | The file name of the document (e.g. "DriversLicense.pdf") | Yes |
Content | The base 64 string for the byte content of the attachment | Yes |
DocSortOrder | The order in which to display the document relative to the forms and other documents. | Yes |
BeforeForm | A boolean flag indicating if the document is inserted before or after the form. If TRUE, insert the document before the form according to the SortOrder. Default is FALSE which appends the document to the Form according to the SortOrder | Yes |
Example attachments/upload JSON Payload:
{
"Unid": "WRpsWX3PnO5VgWxUTUTKIN%2fKxE%2bA09amHDBBi%2fwe3vLWSZwHUY7HOgyFmrKm6BAy",
"Attachments": [
{
"Name": "testattach3.pdf",
"Path": "",
"Content": "<really long base64 string>",
"DocSortOrder": 1,
"BeforeForm": false
}
]
}
For help regarding Quik! Forms and the Quik! API
Email: support@quikforms.com | Phone: (877) 456-QUIK