Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Blob URLs expire. Download the file immediately or store it on your side.


Authentication

All endpoints in this section require an authenticated API request.

The authenticated user must have access to the requested Task.


Common query parameters

Parameter
Type
Required
Description

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

Goal
URL

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

Use 0 to redirect users to a file download. Use 1 to save the file server-side. Use 2 to pass the file in JSON or display it in a frontend app.

Field names vary by attachment type. For example, the original document uses OriginalBlobFile, while the signed document uses SignedTaskFile.


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 TaskClient GUID in the guid parameter. See Using Attachments with Signature Routines.

Response - 200 OK


Get signed document

Returns the signed document for the task.

The Blob URL also appears in the Message field.

Response - 200 OK


Get original document

Returns the original document before signing.

The Blob URL also appears in the Message field.

Response - 200 OK


Get general attachments

Returns a ZIP file with general attachments uploaded by the signer.

The Blob URL also appears in the Message field.

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.

The Blob URL also appears in the Message field.

Response - 200 OK


Get attachments Excel

Returns a download link for an Excel file summarizing all task attachments.

Response - 200 OK

If a file is not available, the matching LinkBlob, BlobFile, and Base64File fields can be empty.

Last updated