curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/drafts?token='import requests
url = "https://sandbox.circularo.com/api/v1/drafts?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/drafts?token=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.circularo.com/api/v1/drafts?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v1/drafts?token="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.circularo.com/api/v1/drafts?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/drafts?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"results": [
{
"alerts": [
{
"alertTo": "john.doe@example.com",
"message": "The contract expires next week.",
"sent": true,
"triggerOn": "2023-11-07T05:31:56Z"
}
],
"barcode": "g153bn7qeo63b5kzec7q9cvnxnd03n34d4zkfyjy8m728eqdznf3htxm8mh14d48",
"counterId": "TEF_2016_aa_001",
"createDate": "2023-11-07T05:31:56Z",
"createName": {
"name": "john.doe@example.com",
"type": "internal"
},
"customFields": [
{
"key": "internalReference",
"type": "string",
"value": "ACME-2026-001",
"displayName": "Internal reference"
}
],
"definitionLanguage": "en",
"definitionType": "edoc",
"documentCategory": "Contract",
"documentId": "a0d01c9d-f72f-4c57-af11-e26bda19cc59",
"documentTitle": "Contract Agreement",
"draftType": "create",
"expiresOn": "2026-12-31T00:00:00.000Z",
"file": [
{
"additionalInfo": "<string>",
"content": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fileExtension": "docx",
"fileType": "word",
"hasPassword": true,
"isConvertible": true,
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"name": "LegalNotes.docx",
"pages": 8,
"public": true,
"size": 522481,
"timestamp": "2023-11-07T05:31:56Z",
"user": "john.doe@example.com"
}
],
"folder": {
"global": {
"level": 123,
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123
}
],
"username": "john.doe@example.com"
},
"user": {
"level": 123,
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123
}
],
"username": "john.doe@example.com"
}
},
"html": "<string>",
"id": "8b312068-ecdf-4fa6-8f13-c6183da85f43",
"isFolder": true,
"isSigned": true,
"lastModified": "2023-11-07T05:31:56Z",
"lastUpdated": "2023-11-07T05:31:56Z",
"organization": "d0a72e51-728e-4a1d-9a5c-13796122b6f8",
"originalSignFields": [
{
"align": "center",
"backgroundColor": "#FFFF00",
"bold": true,
"cancelled": true,
"color": "#000000",
"config": "{\"multipageType\":\"all\",\"multiPageCustom\":\"1\"}",
"fieldGroupId": 123,
"fileName": "evidence.pdf",
"filled": true,
"font": "default",
"fontSize": 123,
"groupId": 123,
"id": "1LTn5IimzXh68bOv",
"link": "https://example.com",
"lockRatio": true,
"maxCharacters": 123,
"multipage": true,
"numberOfLines": 123,
"order": 123,
"pages": [
1,
2
],
"position": {
"percentHeight": 0.03176305676305678,
"percentWidth": 0.43921568627450985,
"percentX": 0.49892906639788337,
"percentY": 0.2465883269647186
},
"public": true,
"readOnly": true,
"required": true,
"shareId": [
"sd0oAvfpB4k0yDf787x4"
],
"subtype": "annotation_generic",
"text": "<string>",
"time": true,
"timestamp": true,
"tooltip": "Sign here",
"type": "signature",
"usage": "manual",
"user": [
"john.doe+member@example.com"
],
"userRoleId": 123,
"userRoleName": "Recipient 1",
"values": [
"Yes",
"No"
],
"zIndex": 123
}
],
"pdfFile": {
"additionalInfo": "<string>",
"content": "a219a47b4f5b1xv726cfm36l8k1hkxzwmj5mszvfq6szoambdvc44v6i8hrhntv0",
"fileExtension": "pdf",
"fileType": "pdf",
"hasPassword": true,
"isConvertible": true,
"mimetype": "application/pdf",
"name": "Contract.pdf",
"pages": 21,
"size": 724158
},
"readBy": [
"<string>"
],
"revision": 3,
"rights": {
"editGroups": [
"<string>"
],
"editUsers": [
"<string>"
],
"private": true,
"readGroups": [
"<string>"
],
"readUsers": [
"<string>"
]
},
"sequential": true,
"shareSettings": {
"allowedOAuth": "<string>",
"canAnnotateOnReject": true,
"delegate": true,
"expirationEnabled": true,
"expirationTime": {
"exactTime": "2026-03-01T12:00:00.000Z",
"timeSize": {
"size": "day",
"span": 3
},
"type": "time_span_span"
},
"isPublicComment": true,
"kycFactors": [
"idVerification",
"livenessDetection"
],
"kycProvider": "identomat",
"mailProtection": true,
"message": "<string>",
"metadata": true,
"oauthFactors": [
{
"type": "email",
"value": "john.doe@example.com"
}
],
"oauthFactorTypes": [
"email"
],
"oAuthProtection": true,
"password": "<string>",
"passwordProtection": true,
"print": true,
"rejectWithoutComment": true,
"remindersEnabled": true,
"remindersIntervalDays": 123,
"remindersStartDays": {
"exactTime": "2026-03-01T12:00:00.000Z",
"timeSize": {
"size": "day",
"span": 3
},
"type": "time_span_span"
},
"smsProtection": true,
"uploadFiles": true,
"usersWithKycData": [
{
"kycDocumentTypes": [
"passport",
"idCard"
],
"kycExpectedData": {
"dateOfBirth": "1988-11-13T00:00:00.000Z",
"documentNumber": "X1234567",
"nationality": "CZE"
},
"kycExpectedDataFields": [
"dateOfBirth"
],
"user": "john.doe@example.com"
}
],
"usersWithOAuthFactors": [
{
"oauthFactors": [
{
"type": "phoneNumber",
"value": "+420777123456"
}
],
"oauthFactorTypes": [
"email"
],
"user": "john.doe@example.com"
}
]
},
"showBarcode": true,
"signEntities": [
{
"inGroup": true,
"order": 123,
"quorum": 123,
"shareData": [
{
"allowedOAuth": "uaePass",
"canAnnotateOnReject": true,
"delegate": true,
"expirationEnabled": true,
"expirationTime": {
"exactTime": "2026-03-01T12:00:00.000Z",
"timeSize": {
"size": "day",
"span": 3
},
"type": "time_span_span"
},
"kycDocumentTypes": [
"idCard"
],
"kycExpectedData": {
"dateOfBirth": "1988-11-13T00:00:00.000Z",
"documentNumber": "X1234567",
"nationality": "CZE"
},
"kycExpectedDataFields": [
"dateOfBirth"
],
"kycFactors": [
"idVerification"
],
"kycProvider": "<string>",
"language": "en",
"mailProtection": true,
"message": "Please countersign before Friday.",
"metadata": true,
"nafathId": "1012345678",
"nafathProtection": true,
"oauthFactors": [
{
"type": "email",
"value": "john.doe@example.com"
}
],
"oauthFactorTypes": [
"email"
],
"oAuthProtection": true,
"password": "<string>",
"passwordProtection": true,
"phone": "+420777123456",
"print": true,
"rejectWithoutComment": true,
"remindersEnabled": true,
"remindersIntervalDays": 3,
"remindersStartDays": {
"exactTime": "2026-03-01T12:00:00.000Z",
"timeSize": {
"size": "day",
"span": 3
},
"type": "time_span_span"
},
"smsProtection": true,
"uploadFiles": true,
"user": {
"contactType": "<string>",
"fullname": "John Doe",
"language": "en",
"mail": "john.doe@example.com",
"name": "john.doe@example.com",
"type": "internal"
}
}
],
"shareId": [
"sd0oAvfpB4k0yDf787x4"
],
"shareType": "sign",
"type": "user",
"usage": "manual",
"userRoleId": 123,
"userRoleName": "Recipient 1"
}
],
"signFields": [
{
"align": "center",
"backgroundColor": "#FFFF00",
"bold": true,
"color": "#000000",
"config": "{\"multipageType\":\"all\",\"multiPageCustom\":\"1\"}",
"fieldGroupId": 123,
"fileName": "evidence.pdf",
"font": "default",
"fontSize": 123,
"groupId": 123,
"id": "1LTn5IimzXh68bOv",
"link": "https://example.com",
"lockRatio": true,
"maxCharacters": 123,
"multipage": true,
"numberOfLines": 123,
"order": 123,
"pages": [
1,
2
],
"position": {
"percentHeight": 0.03176305676305678,
"percentWidth": 0.43921568627450985,
"percentX": 0.49892906639788337,
"percentY": 0.2465883269647186
},
"public": true,
"readOnly": true,
"required": true,
"shareId": [
"sd0oAvfpB4k0yDf787x4"
],
"subtype": "annotation_generic",
"text": "<string>",
"time": true,
"timestamp": true,
"tooltip": "Sign here",
"type": "signature",
"usage": "manual",
"user": [
"john.doe+member@example.com"
],
"userRoleId": 123,
"userRoleName": "Recipient 1",
"values": [
"Yes",
"No"
],
"zIndex": 123
}
],
"submittedFiles": [
{
"additionalInfo": "<string>",
"content": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fileExtension": "pdf",
"fileType": "pdf",
"hasPassword": true,
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"name": "IDCardFront.pdf",
"pages": 8,
"public": true,
"size": 522481,
"timestamp": "2023-11-07T05:31:56Z",
"user": "john.doe@example.com"
}
],
"tags": {
"global": [
"Contract",
"2026"
],
"user": [
"To review"
]
},
"term": {
"nextNotificationOn": "2026-11-30T08:00:00.000Z",
"nextRenewalOn": "2027-01-01T00:00:00.000Z",
"nonFixedTerm": {
"noticePeriod": "3M",
"terminationStartDate": "2026-10-01T00:00:00.000Z"
},
"reminders": [
{
"nextReminderOn": "2026-11-30T08:00:00.000Z",
"notifyOwner": true,
"period": "30d",
"recipients": [
"jane.doe@example.com"
],
"sentOn": "2026-11-30T08:00:07.412Z",
"skipped": true,
"time": "09:00",
"timeZone": "Europe/Prague"
}
],
"renewal": {
"finalDate": "2030-12-31T00:00:00.000Z",
"lastRenewedOn": "2027-01-01T00:15:03.118Z",
"maxRenewals": 50,
"noticeDueOn": "2026-09-30T00:00:00.000Z",
"noticePeriod": "3M",
"period": "1y",
"renewedCount": 1,
"type": "auto"
},
"timeZone": "Europe/Prague"
},
"termType": "fixed_term",
"thumbnails": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"tika": {
"content_ocr": "<string>",
"content_text": "<string>",
"language": "<string>"
},
"tikaStatus": "<string>",
"usePdfA": true,
"version": 123,
"workflow": [
{
"archived": true,
"group": [
"<string>"
],
"history": [
{
"action": 123,
"comment": "<string>",
"date": "2023-11-07T05:31:56Z",
"fileChanged": true,
"fileName": "contract.pdf",
"groupReceiver": [
"<string>"
],
"mentionedDocuments": [
"<string>"
],
"mentionedUsers": [
"jane.doe@example.com"
],
"mimetype": "application/pdf",
"name": "document_signed",
"newRevision": 123,
"newTitle": "<string>",
"originalFileName": "contract.docx",
"originalMimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"originalRevision": 123,
"originalTitle": "<string>",
"sent": true,
"shareEmail": "<string>",
"shareFinal": true,
"shareGroup": "<string>",
"shareType": "<string>",
"shareUser": "<string>",
"signatureComponents": "<string>",
"state": 123,
"tags": [
"<string>"
],
"titleChanged": true,
"type": "document_signed",
"user": {
"name": "john.doe@example.com",
"type": "internal"
},
"userReceiver": [
{
"name": "john.doe@example.com",
"type": "internal"
}
]
}
],
"id": "a0d01c9d-f72f-4c57-af11-e26bda19cc590",
"lastAction": {
"archive": true,
"commentRequired": true,
"following": "<string>",
"id": 5,
"isInitial": true,
"multipleReceivers": true,
"name": "create",
"nextState": 1,
"predefinedReceiver": true,
"receiver": "john.doe@example.com",
"recipient": true,
"rights": "<string>",
"send": true,
"stateId": 0
},
"lastRequest": {
"commentRequired": true,
"id": 5,
"isInitial": true,
"multipleReceivers": true,
"name": "request_approval",
"nextState": 1,
"predefinedReceiver": true,
"receiver": "john.doe@example.com",
"recipient": true,
"resolvedBy": 5,
"rework": true,
"rights": "<string>",
"sign": true,
"stateId": 0
},
"receivedDate": "2023-11-07T05:31:56Z",
"state": 1,
"stateName": "created",
"timeOfDuration": 86400000,
"user": [
{
"name": "john.doe@example.com",
"type": "internal"
}
],
"workflowType": "wf_archive"
}
]
}
],
"total": 123
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}List drafts
GET /drafts
Lists the caller’s own drafts, the unfinished documents waiting to be picked up again, most recently updated first. A draft is never visible to anyone but the user who created it, so this is always a personal list. Drafts the platform keeps for its own internal processing are left out of it.
Each entry is a whole draft, so the list is heavy: from and size page through it, and leaving them out returns all of it at once. When the drafts have to be filtered or sorted, or only some of their fields are needed, use POST /drafts/search instead; when only the number matters, GET /drafts/count answers that without loading anything.
Token authorization: Authorize using a token — either a session token obtained from login or an API key — to call this endpoint.
curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/drafts?token='import requests
url = "https://sandbox.circularo.com/api/v1/drafts?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/drafts?token=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.circularo.com/api/v1/drafts?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v1/drafts?token="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.circularo.com/api/v1/drafts?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/drafts?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"results": [
{
"alerts": [
{
"alertTo": "john.doe@example.com",
"message": "The contract expires next week.",
"sent": true,
"triggerOn": "2023-11-07T05:31:56Z"
}
],
"barcode": "g153bn7qeo63b5kzec7q9cvnxnd03n34d4zkfyjy8m728eqdznf3htxm8mh14d48",
"counterId": "TEF_2016_aa_001",
"createDate": "2023-11-07T05:31:56Z",
"createName": {
"name": "john.doe@example.com",
"type": "internal"
},
"customFields": [
{
"key": "internalReference",
"type": "string",
"value": "ACME-2026-001",
"displayName": "Internal reference"
}
],
"definitionLanguage": "en",
"definitionType": "edoc",
"documentCategory": "Contract",
"documentId": "a0d01c9d-f72f-4c57-af11-e26bda19cc59",
"documentTitle": "Contract Agreement",
"draftType": "create",
"expiresOn": "2026-12-31T00:00:00.000Z",
"file": [
{
"additionalInfo": "<string>",
"content": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fileExtension": "docx",
"fileType": "word",
"hasPassword": true,
"isConvertible": true,
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"name": "LegalNotes.docx",
"pages": 8,
"public": true,
"size": 522481,
"timestamp": "2023-11-07T05:31:56Z",
"user": "john.doe@example.com"
}
],
"folder": {
"global": {
"level": 123,
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123
}
],
"username": "john.doe@example.com"
},
"user": {
"level": 123,
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123
}
],
"username": "john.doe@example.com"
}
},
"html": "<string>",
"id": "8b312068-ecdf-4fa6-8f13-c6183da85f43",
"isFolder": true,
"isSigned": true,
"lastModified": "2023-11-07T05:31:56Z",
"lastUpdated": "2023-11-07T05:31:56Z",
"organization": "d0a72e51-728e-4a1d-9a5c-13796122b6f8",
"originalSignFields": [
{
"align": "center",
"backgroundColor": "#FFFF00",
"bold": true,
"cancelled": true,
"color": "#000000",
"config": "{\"multipageType\":\"all\",\"multiPageCustom\":\"1\"}",
"fieldGroupId": 123,
"fileName": "evidence.pdf",
"filled": true,
"font": "default",
"fontSize": 123,
"groupId": 123,
"id": "1LTn5IimzXh68bOv",
"link": "https://example.com",
"lockRatio": true,
"maxCharacters": 123,
"multipage": true,
"numberOfLines": 123,
"order": 123,
"pages": [
1,
2
],
"position": {
"percentHeight": 0.03176305676305678,
"percentWidth": 0.43921568627450985,
"percentX": 0.49892906639788337,
"percentY": 0.2465883269647186
},
"public": true,
"readOnly": true,
"required": true,
"shareId": [
"sd0oAvfpB4k0yDf787x4"
],
"subtype": "annotation_generic",
"text": "<string>",
"time": true,
"timestamp": true,
"tooltip": "Sign here",
"type": "signature",
"usage": "manual",
"user": [
"john.doe+member@example.com"
],
"userRoleId": 123,
"userRoleName": "Recipient 1",
"values": [
"Yes",
"No"
],
"zIndex": 123
}
],
"pdfFile": {
"additionalInfo": "<string>",
"content": "a219a47b4f5b1xv726cfm36l8k1hkxzwmj5mszvfq6szoambdvc44v6i8hrhntv0",
"fileExtension": "pdf",
"fileType": "pdf",
"hasPassword": true,
"isConvertible": true,
"mimetype": "application/pdf",
"name": "Contract.pdf",
"pages": 21,
"size": 724158
},
"readBy": [
"<string>"
],
"revision": 3,
"rights": {
"editGroups": [
"<string>"
],
"editUsers": [
"<string>"
],
"private": true,
"readGroups": [
"<string>"
],
"readUsers": [
"<string>"
]
},
"sequential": true,
"shareSettings": {
"allowedOAuth": "<string>",
"canAnnotateOnReject": true,
"delegate": true,
"expirationEnabled": true,
"expirationTime": {
"exactTime": "2026-03-01T12:00:00.000Z",
"timeSize": {
"size": "day",
"span": 3
},
"type": "time_span_span"
},
"isPublicComment": true,
"kycFactors": [
"idVerification",
"livenessDetection"
],
"kycProvider": "identomat",
"mailProtection": true,
"message": "<string>",
"metadata": true,
"oauthFactors": [
{
"type": "email",
"value": "john.doe@example.com"
}
],
"oauthFactorTypes": [
"email"
],
"oAuthProtection": true,
"password": "<string>",
"passwordProtection": true,
"print": true,
"rejectWithoutComment": true,
"remindersEnabled": true,
"remindersIntervalDays": 123,
"remindersStartDays": {
"exactTime": "2026-03-01T12:00:00.000Z",
"timeSize": {
"size": "day",
"span": 3
},
"type": "time_span_span"
},
"smsProtection": true,
"uploadFiles": true,
"usersWithKycData": [
{
"kycDocumentTypes": [
"passport",
"idCard"
],
"kycExpectedData": {
"dateOfBirth": "1988-11-13T00:00:00.000Z",
"documentNumber": "X1234567",
"nationality": "CZE"
},
"kycExpectedDataFields": [
"dateOfBirth"
],
"user": "john.doe@example.com"
}
],
"usersWithOAuthFactors": [
{
"oauthFactors": [
{
"type": "phoneNumber",
"value": "+420777123456"
}
],
"oauthFactorTypes": [
"email"
],
"user": "john.doe@example.com"
}
]
},
"showBarcode": true,
"signEntities": [
{
"inGroup": true,
"order": 123,
"quorum": 123,
"shareData": [
{
"allowedOAuth": "uaePass",
"canAnnotateOnReject": true,
"delegate": true,
"expirationEnabled": true,
"expirationTime": {
"exactTime": "2026-03-01T12:00:00.000Z",
"timeSize": {
"size": "day",
"span": 3
},
"type": "time_span_span"
},
"kycDocumentTypes": [
"idCard"
],
"kycExpectedData": {
"dateOfBirth": "1988-11-13T00:00:00.000Z",
"documentNumber": "X1234567",
"nationality": "CZE"
},
"kycExpectedDataFields": [
"dateOfBirth"
],
"kycFactors": [
"idVerification"
],
"kycProvider": "<string>",
"language": "en",
"mailProtection": true,
"message": "Please countersign before Friday.",
"metadata": true,
"nafathId": "1012345678",
"nafathProtection": true,
"oauthFactors": [
{
"type": "email",
"value": "john.doe@example.com"
}
],
"oauthFactorTypes": [
"email"
],
"oAuthProtection": true,
"password": "<string>",
"passwordProtection": true,
"phone": "+420777123456",
"print": true,
"rejectWithoutComment": true,
"remindersEnabled": true,
"remindersIntervalDays": 3,
"remindersStartDays": {
"exactTime": "2026-03-01T12:00:00.000Z",
"timeSize": {
"size": "day",
"span": 3
},
"type": "time_span_span"
},
"smsProtection": true,
"uploadFiles": true,
"user": {
"contactType": "<string>",
"fullname": "John Doe",
"language": "en",
"mail": "john.doe@example.com",
"name": "john.doe@example.com",
"type": "internal"
}
}
],
"shareId": [
"sd0oAvfpB4k0yDf787x4"
],
"shareType": "sign",
"type": "user",
"usage": "manual",
"userRoleId": 123,
"userRoleName": "Recipient 1"
}
],
"signFields": [
{
"align": "center",
"backgroundColor": "#FFFF00",
"bold": true,
"color": "#000000",
"config": "{\"multipageType\":\"all\",\"multiPageCustom\":\"1\"}",
"fieldGroupId": 123,
"fileName": "evidence.pdf",
"font": "default",
"fontSize": 123,
"groupId": 123,
"id": "1LTn5IimzXh68bOv",
"link": "https://example.com",
"lockRatio": true,
"maxCharacters": 123,
"multipage": true,
"numberOfLines": 123,
"order": 123,
"pages": [
1,
2
],
"position": {
"percentHeight": 0.03176305676305678,
"percentWidth": 0.43921568627450985,
"percentX": 0.49892906639788337,
"percentY": 0.2465883269647186
},
"public": true,
"readOnly": true,
"required": true,
"shareId": [
"sd0oAvfpB4k0yDf787x4"
],
"subtype": "annotation_generic",
"text": "<string>",
"time": true,
"timestamp": true,
"tooltip": "Sign here",
"type": "signature",
"usage": "manual",
"user": [
"john.doe+member@example.com"
],
"userRoleId": 123,
"userRoleName": "Recipient 1",
"values": [
"Yes",
"No"
],
"zIndex": 123
}
],
"submittedFiles": [
{
"additionalInfo": "<string>",
"content": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fileExtension": "pdf",
"fileType": "pdf",
"hasPassword": true,
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"name": "IDCardFront.pdf",
"pages": 8,
"public": true,
"size": 522481,
"timestamp": "2023-11-07T05:31:56Z",
"user": "john.doe@example.com"
}
],
"tags": {
"global": [
"Contract",
"2026"
],
"user": [
"To review"
]
},
"term": {
"nextNotificationOn": "2026-11-30T08:00:00.000Z",
"nextRenewalOn": "2027-01-01T00:00:00.000Z",
"nonFixedTerm": {
"noticePeriod": "3M",
"terminationStartDate": "2026-10-01T00:00:00.000Z"
},
"reminders": [
{
"nextReminderOn": "2026-11-30T08:00:00.000Z",
"notifyOwner": true,
"period": "30d",
"recipients": [
"jane.doe@example.com"
],
"sentOn": "2026-11-30T08:00:07.412Z",
"skipped": true,
"time": "09:00",
"timeZone": "Europe/Prague"
}
],
"renewal": {
"finalDate": "2030-12-31T00:00:00.000Z",
"lastRenewedOn": "2027-01-01T00:15:03.118Z",
"maxRenewals": 50,
"noticeDueOn": "2026-09-30T00:00:00.000Z",
"noticePeriod": "3M",
"period": "1y",
"renewedCount": 1,
"type": "auto"
},
"timeZone": "Europe/Prague"
},
"termType": "fixed_term",
"thumbnails": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"tika": {
"content_ocr": "<string>",
"content_text": "<string>",
"language": "<string>"
},
"tikaStatus": "<string>",
"usePdfA": true,
"version": 123,
"workflow": [
{
"archived": true,
"group": [
"<string>"
],
"history": [
{
"action": 123,
"comment": "<string>",
"date": "2023-11-07T05:31:56Z",
"fileChanged": true,
"fileName": "contract.pdf",
"groupReceiver": [
"<string>"
],
"mentionedDocuments": [
"<string>"
],
"mentionedUsers": [
"jane.doe@example.com"
],
"mimetype": "application/pdf",
"name": "document_signed",
"newRevision": 123,
"newTitle": "<string>",
"originalFileName": "contract.docx",
"originalMimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"originalRevision": 123,
"originalTitle": "<string>",
"sent": true,
"shareEmail": "<string>",
"shareFinal": true,
"shareGroup": "<string>",
"shareType": "<string>",
"shareUser": "<string>",
"signatureComponents": "<string>",
"state": 123,
"tags": [
"<string>"
],
"titleChanged": true,
"type": "document_signed",
"user": {
"name": "john.doe@example.com",
"type": "internal"
},
"userReceiver": [
{
"name": "john.doe@example.com",
"type": "internal"
}
]
}
],
"id": "a0d01c9d-f72f-4c57-af11-e26bda19cc590",
"lastAction": {
"archive": true,
"commentRequired": true,
"following": "<string>",
"id": 5,
"isInitial": true,
"multipleReceivers": true,
"name": "create",
"nextState": 1,
"predefinedReceiver": true,
"receiver": "john.doe@example.com",
"recipient": true,
"rights": "<string>",
"send": true,
"stateId": 0
},
"lastRequest": {
"commentRequired": true,
"id": 5,
"isInitial": true,
"multipleReceivers": true,
"name": "request_approval",
"nextState": 1,
"predefinedReceiver": true,
"receiver": "john.doe@example.com",
"recipient": true,
"resolvedBy": 5,
"rework": true,
"rights": "<string>",
"sign": true,
"stateId": 0
},
"receivedDate": "2023-11-07T05:31:56Z",
"state": 1,
"stateName": "created",
"timeOfDuration": 86400000,
"user": [
{
"name": "john.doe@example.com",
"type": "internal"
}
],
"workflowType": "wf_archive"
}
]
}
],
"total": 123
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Query Parameters
Response
Returns the caller's drafts and how many there are in total.