Skip to content

  • Documentation
    • Mobile App – Signatus
    • Web App – Signatus 2 API
    • Web App – OKdokument API
    • Web App – OKdokument
  • Contact Us

Customization – Wizard SDK

  • 1. What is a Wizard
  • 2. Introduction to Wizard Javascript API Calls
  • 2.1 Integration
  • 2.2 Document signing
  • 2.3 PDF Document Processing
  • 2.4 Device Features
  • 2.5 Files & Folders
  • 2.6 Application Features
  • 2.7 System Utilities
  • 3. Example: Simple process

Customization – Branding Guidelines

  • 1. Introduction
  • 2. Customize logo and welcome screen
  • 3. Customize main menu
  • 4. Sign your own document

Customization – PDF & Form Preparation

  • PDF Forms creation
  • 1. Tags
  • 2. Acrofields
  • 3. Sample document

Integration – REST API

  • 1. Introduction
  • 2. Download
  • 3. Upload

Integration – App-to-App

  • 1. Introduction
  • 2. How does it work?
  • 3. START-ACTIVITY-FOR-RESULT (APP – SIGNATUS – APP)
  • 4. Sending data to Master Wizard via Intent
  • 5. Runtime Configuration Parameters (Display, Fields, Signing Process)

Hardware

  • 1. Android
  • 2. iOS / iPadOS
  • 3. Windows

Signatus user manual

  • 1. Introduction
  • 2. Main menu
  • 3. Signing
  • 4. Submit signed document
  • 5. Settings in detail
  • 6. Example Wizard
View Categories
  • Home
  • Documentation
  • Mobile App - Signatus
  • Integration – REST API
  • 3. Upload

3. Upload

This chapter explains how to configure the REST connection in SIGNATUS settings, under the section “Upload using REST channel”.

3.1 Upload document #

Upload is used to transfer signed documents from the SIGNATUS application to the server.

Service specification #

URLConfigured in “REST upload URL” setting

Example: https://<host name>/<context>/rest/document
MethodPOST
AuthenticationSession Cookie Authentication or
Autorization – Basic {username:password} in base64.
Content Typemultipart/form-data
Response typeapplication/json

Request description #

The request body contains dynamic metadata items combined from the following sources:

  • Metadata received in the List response (just before the document was downloaded)
  • Metadata defined in “REST upload metadata” configuration
KeyTypeDescription
filedatafileSigned document
idtextunique identification of the document
filenametext the actual name of the file generated by the SIGNATUS application
HTTP- Click to view HTTP code snippet
POST /rest/document HTTP/1.1
Host: localhost:8080
Cookie: JSESSIONID=689266BE6CB2400FEDCEACDFBA52983C
Content-Length: 1276
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="filedata"; filename="PDF/TestLenso_signed.pdf"
Content-Type: application/pdf

(data)
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="group"

tablet
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="state"

tosign
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="filename"

Test-845_1777458718352.pdf
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="name"

Kerry Tremblay
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="number"

528
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="sid"

Cole Group
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="id"

Rb7VgVYshBBy8QMLDMT5a4_3GRW1AZdjQb08R9a5AvqRfuZt_kY0Xv6qbvXuqfob9W_H8LMD79SAVqkx0XRozw
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="reuploadState"

signed
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="date"

1777459020318
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="modification"

2026-04-29 12:37:00
------WebKitFormBoundary7MA4YWxkTrZu0gW--

Response description #

Status codeDescription
200 OKUpload successful
400 Bad RequestWhen request validation failed
401 UnauthorizedWhen user is not authenticated
403 ForbiddenWhen user lacks required permissions
404 Not FoundIf the document with the specified id does not exist.
500 Internal Server ErrorServer processing error

Success response example :

{
    "message": "msg.document.upload",
    "result": "Rb7VgVYshBBy8QMLDMT5a4_3GRW1AZdjQb08R9a5AvqRfuZt_kY0Xv6qbvXuqfob9W_H8LMD79SAVqkx0XRozw"
}

Error response example :

{
    "message": "err.filedata.missing"
}
Updated on 06/05/2026
2. Download
Table of Contents
  • 3.1 Upload document
  • Service specification
  • Request description
  • Response description
  • Documentation
    • Mobile App – Signatus
    • Web App – Signatus 2 API
    • Web App – OKdokument API
    • Web App – OKdokument
  • Contact Us
Proudly powered by WordPress