Skip to content

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

1. API concept

  • Overview
  • 1.1 Supported web browsers
  • 1.2 Supported languages
  • 1.3 How to prepare document for signature
  • 1.4 How to use acrofields
  • 1.5 How to use pre-defined signature fields
  • 1.6 Document states
  • 1.7 Storing and deleting documents
  • 1.8 OKDokument API call list
  • 1.9 QR code
  • 1.10 Email and SMS
  • 1.11 Dictionary

2. Core API services

  • Authorization
  • Create signature request
  • Upload
  • Open document
  • Information about signing completion
  • Result URL
  • Download document
  • Delete document
  • Rules
  • Document fields configuration
  • Integration Resources & API Documentation

3. Additional API services

  • List of the documents
  • Document Info
  • Update Signature Request
  • Delete Signature Request
  • Signature Request Counter
  • Upload document

4. Use cases

  • Overview
  • 4.1 Example 1: Simple one-round signing
  • 4.2 Example 2: One-round signing with redirect url
  • 4.3 Example 3: One-round signing with send info
  • 4.4 Example 4: Multi-Round Signing

5. Configuration of the signing process

  • Overview
  • 5.1 One-round signing with simple PDF
  • 5.2 Multi-round signing with simple PDF
  • 5.3  One-round signing with PDF with tags
  • 5.4 Multi-round signing with PDF with tags
  • 5.5 One-round signing with PDF with signature acrofields
  • 5.6 Multi-round signing with PDF with signature acrofields
  • 5.7 Accessing document after inserting OTP
  • 5.8 Sign document with OTP
  • 5.9 Email
  • 5.10 QR code

6. Examples

  • Postman examples
View Categories
  • Home
  • Documentation
  • Web App - OKdokument API
  • 2. Core API services
  • Open document

Open document

After successful creation of the signing request, next step is to open the document for signing. Document is opened by calling the Open document service. To open document use attribute url from Signature request service response

{
	"message": "msg.signature.request.id.created",
	"result": "1d58a59e-e8f7-4d07-bb99-d3fa39cb58a8",
	"url": "https://apidev.okdokument.com/openDocument/1d58a59e-e8f7-4d07-bb99-d3fa39cb58a8",
	"documentId": "y7Ki_u1mrUwijfb-o_S1JiphSsoXya8iypH380F"
}

Service displays the PDF document in OKdokument graphic interface.

After the user signs (or cancels) the document there are several possibilities what can happened according to Signature request service parameters configuration:

  • User is redirected to OKdokument default “Thank you page”
  • Backend to backed communication is initialised (see chapter 2.4 Information about signing completion)
  • User is redirected to Portal result url (see chapter 2.5 Result URL)

Service specifications #

URLhttps://apidev.okdokument.com/openDocument/{signatureRequestId}
MethodGET
URL parameter signatureRequestIdunique identifier used in /JSON/signatureRequest method

Example with signature request id:

https://apidev.okdokument.com/openDocument/1d58a59e-e8f7-4d07-bb99-d3fa39cb58a8
HTTP- Click to view HTTP code snippet
GET /openDocument/1d58a59e-e8f7-4d07-bb99-d3fa39cb58a8 HTTP/1.1
Host: localhost:8080

Updated on 08/05/2026
UploadInformation about signing completion
Table of Contents
  • Service specifications
  • Documentation
    • Mobile App – Signatus
    • Web App – Signatus 2 API
    • Web App – OKdokument API
    • Web App – OKdokument
  • Contact Us
Proudly powered by WordPress