Get task attachments
Retrieve signed files, originals, ID uploads, and attachment archives from completed tasks.
This section explains how to retrieve the different documents and attachments associated with a Task.
You can retrieve:
The original document
The signed document
The ID attachment
General attachments
Excel attachments
All attachments in a single request
All endpoints require authentication.
Authentication
All endpoints in this section require an authenticated API request.
The authenticated user must have access to the requested Task.
Common query parameters
guid
string
✅
Task GUID
taskId
int
❌
Optional. Relevant for single-task flows.
fileDownloadType
int
❌
0 = link only, 1 = bytes, 2 = Base64
Request example
Choose the right endpoint
Get All Attachments
GET /api/V2/BaseTasks/GetAllAttachmentsLocationBlob
Get Signed Document
GET /api/V2/BaseTasks/GetSignedTaskLocationBlob
Get Original Document
GET /api/V2/BaseTasks/GetOriginalTaskLocationBlob
Get General Attachment
GET /api/V2/BaseTasks/GetGeneralAttachmentsLocationBlob
Get Location of ID
GET /api/V2/BaseTasks/GetIdAttachmentLocationBlob
Get Attachments Excel
GET /api/V2/BaseTasks/GetExcelAttachmentsLocationBlob
File download types
The fileDownloadType parameter controls what each endpoint returns. The response includes all three field variants, but only one is populated.
fileDownloadType
Description
Populated field
0
Blob URL (default)
*LinkBlob
1
Raw bytes
*BlobFile
2
Base64 encoded
*Base64File
Example - signed document
fileDownloadType: 0 - link only
fileDownloadType: 1 - bytes
fileDownloadType: 2 - Base64
Get all attachments
If you need to retrieve several types of files for the same Task, you can use:
This endpoint returns the available original, signed, Excel, ID and general attachments in a single response.
Signature Routine: When retrieving attachments for a Signature Routine, use the specific
TaskClientGUID in theguidparameter. See Using Attachments with Signature Routines.
Response - 200 OK
Get signed document
Returns the signed document for the task.
Response - 200 OK
Get original document
Returns the original document before signing.
Response - 200 OK
Get general attachments
Returns a ZIP file with general attachments uploaded by the signer.
Response - 200 OK
Get ID attachment
Returns the ID photo uploaded by the signer. This is relevant when ForceIdUpload: true was set on the task.
Response - 200 OK
Get attachments Excel
Returns a download link for an Excel file summarizing all task attachments.
Response - 200 OK
Last updated