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

Upload File

You can either upload a new document or use an existing template when creating a task.

If you want to use a custom document, you must first upload the file using this API. The response will return a PdfGuid (and TaskGuid if relevant), which should then be passed to the task creation API in order to create the signature task with the uploaded file.

This API uploads the document and returns the GUID that will later be used in the task creation APIs for signing.

Header

Content-Type:multipart/form-data
Authorization:'Bearer token_value_from_login'

Request Body Example

{
    "Name":"fileUpload",
    "FileName":{"name":"doc-sign.pdf","mime":"application\/pdf","postname":"FileName"}
}

UploadFileForTask

post
Responses
200

Success (Custom Example)

application/json
stringOptionalExample: { "Status": "success", "Message": "", "ResponseObject": { "TaskGuid": "b2227ff7-3522-41c4-873d-f36f7936cdac", "PdfGuid": "b2227ff7-3522-41c4-873d-f36f7936cdac" } }
post/api/V2/BaseTasks/UploadFileForTask
POST /api/V2/BaseTasks/UploadFileForTask HTTP/1.1
Accept: */*
{

 "Status": "success",

 "Message": "",

 "ResponseObject": {

 "TaskGuid": "b2227ff7-3522-41c4-873d-f36f7936cdac",

 "PdfGuid": "b2227ff7-3522-41c4-873d-f36f7936cdac"

 }

}

Last updated