curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/revisions/document/{id}/{revision}?token='import requests
url = "https://sandbox.circularo.com/api/v1/revisions/document/{id}/{revision}?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/revisions/document/{id}/{revision}?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/revisions/document/{id}/{revision}?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/revisions/document/{id}/{revision}?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/revisions/document/{id}/{revision}?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/revisions/document/{id}/{revision}?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{
"alerts": [
{
"alertTo": "john.doe@example.com",
"fieldName": "D_EMPLOYMENT_START_DATE",
"message": "The contract expires next week.",
"sent": true,
"timeDiff": 259200000,
"triggerOn": "2023-11-07T05:31:56Z"
}
],
"barcode": "g153bn7qeo63b5kzec7q9cvnxnd03n34d4zkfyjy8m728eqdznf3htxm8mh14d48",
"barcodeContent": "https://app.example.com/verification?id=a0d01c9d-f72f-4c57-af11-e26bda19cc59",
"certificateOfFulfillment": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"commentsOnCompletedAllowed": true,
"content": "<string>",
"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": "ext",
"deletionInfo": {
"deletedBy": "john.doe@example.com",
"deletedDate": "2023-11-07T05:31:56Z",
"isDeleted": true
},
"documentCategory": "Contract",
"documentId": "a0d01c9d-f72f-4c57-af11-e26bda19cc59",
"documentTitle": "Contract Agreement",
"documentType": "d_default",
"enumSelections": [
{
"fieldName": "<string>",
"recordId": [
"<string>"
]
}
],
"expiresOn": "2026-12-31T00:00:00.000Z",
"extractionLanguage": "en",
"extractionOcr": "<string>",
"extractionStatus": "finished",
"extractionText": "<string>",
"file": [
{
"additionalInfo": "<string>",
"content": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fileExtension": "docx",
"fileType": "word",
"hasPassword": true,
"hidden": true,
"merged": true,
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"name": "LegalNotes.docx",
"pages": 8,
"pdfPreview": {
"content": "p7kd2m4s9xq1v8b3n6c0z5w2e7r4t1y9u3i6o8a2s5d7f0g4h1j3k6l9z2x5c8v0b4",
"failureReason": "conversion_error",
"status": "failed_irrecoverable",
"statusDate": "2023-11-07T05:31:56Z"
},
"public": true,
"size": 522481,
"timestamp": "2023-11-07T05:31:56Z",
"unsealedContent": "ug7ib1v3yv6grxcz4ipx8j0f6ekjy6bcgfk8s9uvvvczk0gu9dtvtb46ph39w0f2",
"user": "john.doe@example.com"
}
],
"folder": [
{
"accessible": true,
"level": 123,
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123
}
],
"username": "john.doe@example.com"
}
],
"html": "<string>",
"info": {
"revisionTime": "2023-11-07T05:31:56Z",
"revisionUser": "john.doe@example.com"
},
"isAnnotated": true,
"isFolder": true,
"isSigned": true,
"isSignedInternally": true,
"lastModified": "2023-11-07T05:31:56Z",
"lastSeen": [
{
"date": "2023-11-07T05:31:56Z",
"name": "john.doe@example.com"
}
],
"organization": "d0a72e51-728e-4a1d-9a5c-13796122b6f8",
"pdfFile": {
"additionalInfo": "<string>",
"content": "a219a47b4f5b1xv726cfm36l8k1hkxzwmj5mszvfq6szoambdvc44v6i8hrhntv0",
"fileExtension": "pdf",
"fileType": "pdf",
"hasPassword": true,
"merge": [
{
"end": 12,
"hash": "a219a47b4f5b1xv726cfm36l8k1hkxzwmj5mszvfq6szoambdvc44v6i8hrhntv0",
"start": 1
}
],
"mimetype": "application/pdf",
"name": "Contract.pdf",
"pages": 21,
"size": 724158,
"unsealedContent": "ug7ib1v3yv6grxcz4ipx8j0f6ekjy6bcgfk8s9uvvvczk0gu9dtvtb46ph39w0f2"
},
"preparationDraft": {
"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"
}
]
},
"signatureProvider": "internal",
"signatureType": "signature",
"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"
}
}
],
"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,
"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
}
],
"signStep": "users",
"tsaType": "signatureOnly"
},
"readBy": [
"<string>"
],
"revision": 123,
"rights": {
"editGroups": [
"<string>"
],
"editUsers": [
"<string>"
],
"private": true,
"readGroups": [
"<string>"
],
"readUsers": [
"<string>"
]
},
"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,
"signatureChecksums": [
"<string>"
],
"signatureComponents": [
{
"actor": {
"name": "john.doe@example.com",
"type": "internal"
},
"algorithm": "SHA256withRSA",
"align": "center",
"backgroundColor": "#F5F5F5",
"bold": true,
"color": "#1A1A1A",
"comment": "Reviewed with the legal team.",
"component": "signature",
"coverAll": true,
"date": "2023-11-07T05:31:56Z",
"decorateFile": "frame",
"fileHash": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fingerprintSha256": "A13767DDACA2D1B0ACAEB7CD3145D3D1CE14E208106318968FAF9882C8423F43",
"font": "opensans",
"fontSize": 11,
"imageSignature": true,
"ip": "203.0.113.42",
"isLTV": true,
"isSelfSigned": true,
"issuer": "CN=Example Qualified CA,O=Example Trust Services,C=CZ",
"isVerified": true,
"keyUsage": [
"digitalSignature",
"nonRepudiation"
],
"link": "https://example.com/contracts/2024-114",
"location": "Czechia, Prague, Prague",
"lockRatio": true,
"maxCharacters": 20,
"name": "John Doe",
"pages": [
3
],
"position": {
"percentHeight": 0.03176305676305678,
"percentWidth": 0.43921568627450985,
"percentX": 0.49892906639788337,
"percentY": 0.2465883269647186
},
"qcCompliance": true,
"qcSSCD": true,
"qcTypes": [
"esign"
],
"readOnly": true,
"reason": "Signed securely by John Doe john.doe@example.com",
"reconstructed": true,
"sealProvider": "company-qseal",
"serialNumber": "4DC32DD214A19795A2111484900663142F513989",
"signatureProvider": "internal",
"signee": "john.doe@example.com",
"signId": "29326ml64lg2tjf8cz2ka7edcmpb3u2m7os5af3r09fquo6sbegzgsyebannd4yz",
"signOnBehalfOf": "john.doe@example.com",
"signOnBehalfOfFullname": "John Doe",
"stampName": "Head office stamp",
"subject": "CN=John Doe,O=Example Ltd,C=CZ",
"subtype": "annotation_generic",
"text": "Document validity: ",
"trustedBy": [
"EUTL"
],
"tsaEnabled": true,
"tsaProvider": "CN=Example TSA,O=Example Trust Services,C=CZ",
"tsaServer": "<string>",
"userRoleId": 123,
"userRoleName": "Recipient 1",
"validityFrom": "2023-11-07T05:31:56Z",
"validityTo": "2023-11-07T05:31:56Z"
}
],
"signatureProvider": "internal",
"signatureType": "<string>",
"signFields": [
{
"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
}
],
"sourceTemplate": {
"id": "cba71ea5-9a68-431a-a5c2-6d9932792ec7",
"name": "NDA for new suppliers"
},
"star": [
"<string>"
],
"submittedFiles": [
{
"additionalInfo": "<string>",
"content": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fileExtension": "pdf",
"fileType": "pdf",
"hasPassword": true,
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"name": "IDCardFront.pdf",
"pages": 8,
"pdfPreview": {
"content": "p7kd2m4s9xq1v8b3n6c0z5w2e7r4t1y9u3i6o8a2s5d7f0g4h1j3k6l9z2x5c8v0b4",
"failureReason": "conversion_error",
"status": "failed_irrecoverable",
"statusDate": "2023-11-07T05:31:56Z"
},
"public": true,
"size": 522481,
"timestamp": "2023-11-07T05:31:56Z",
"user": "john.doe@example.com"
}
],
"subscriptions": {
"comment": [
"<string>"
],
"update": [
"<string>"
],
"workflowChange": [
"<string>"
],
"workflowFinished": [
"<string>"
]
},
"tags": [
{
"name": "john.doe@example.com",
"tags": [
"<string>"
]
}
],
"term": {
"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",
"state": "scheduled",
"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"
}
},
"termType": "fixed_term",
"thumbnails": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"tsaType": "signatureOnly",
"usePdfA": true,
"workflow": [
{
"alreadySigned": [
{
"action": "sign",
"customActionName": "<string>",
"hasTurn": true,
"hasTurnSince": "2023-11-07T05:31:56Z",
"isMandatory": true,
"order": 123,
"quorum": 123,
"shareId": "sd0oAvfpB4k0yDf787x4",
"user": {
"name": "john.doe@example.com",
"type": "internal"
}
}
],
"archived": true,
"commentOnlyVersions": [
123
],
"currentShareSeen": [
{
"name": "john.doe@example.com",
"type": "internal"
}
],
"group": [
"<string>"
],
"history": [
{
"action": -17,
"comment": "<string>",
"commentAnchor": {
"page": 1,
"position": {
"percentHeight": 0.03176305676305678,
"percentWidth": 0.43921568627450985,
"percentX": 0.49892906639788337,
"percentY": 0.2465883269647186
}
},
"commentAttachment": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"commentDeleted": true,
"commentLastEditedOn": "2026-09-22T09:15:30.000Z",
"commentResolutionChangedBy": {
"name": "john.doe@example.com",
"type": "internal"
},
"commentResolutionChangedOn": "2026-11-04T10:00:00.000Z",
"commentResolved": true,
"connection": {
"ip": "192.0.2.15",
"location": {
"city": "Pilsen",
"country": "Czech Republic",
"countryCode": "CZ",
"region": "Vysočina"
}
},
"date": "2023-11-07T05:31:56Z",
"fileChanged": true,
"fileName": "contract.pdf",
"groupReceiver": [
"<string>"
],
"hidden": true,
"historyId": "9f1c4e2ab7d4423d8a6f0c5e3b7d1a92",
"isPublicComment": true,
"mentionedDocuments": [
"<string>"
],
"mentionedUsers": [
"jane.doe@example.com"
],
"mimetype": "application/pdf",
"name": "document_signed",
"newExpiresOn": "2027-12-31T00:00:00.000Z",
"newRevision": 123,
"newTitle": "<string>",
"originalExpiresOn": "2026-12-31T00:00:00.000Z",
"originalFileName": "contract.docx",
"originalMimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"originalOwner": "john.doe@example.com",
"originalPublicAttachment": true,
"originalRevision": 123,
"originalTitle": "<string>",
"owner": "jane.doe@example.com",
"publicAttachment": true,
"reactions": [
{
"type": "like",
"users": [
"<string>"
]
}
],
"renewedCount": 123,
"rights": {
"edit": {
"addedGroups": [
"<string>"
],
"addedUsers": [
"jane.doe@example.com"
],
"removedGroups": [
"<string>"
],
"removedUsers": [
"jane.doe@example.com"
]
},
"madePrivate": true,
"madePublic": true,
"read": {
"addedGroups": [
"<string>"
],
"addedUsers": [
"jane.doe@example.com"
],
"removedGroups": [
"<string>"
],
"removedUsers": [
"jane.doe@example.com"
]
}
},
"sent": true,
"share": [
{
"active": true,
"customActionName": "<string>",
"delegated": true,
"delegatedChainId": "sd0oAvfpB4k0yDf787x4",
"delegatedFrom": "sd0oAvfpB4k0yDf787x4",
"isMandatory": true,
"order": 1,
"originalShareType": "sign",
"phone": "+420123456789",
"positive": true,
"quorum": 2,
"rights": [
"print",
"metadata"
],
"shareDuration": 86400000,
"shareExpiration": "2023-11-07T05:31:56Z",
"shareId": "sd0oAvfpB4k0yDf787x4",
"shareMode": "sms_protected",
"shareReminded": true,
"shareSeen": true,
"shareStateName": "inprogress",
"shareTo": {
"name": "john.doe@example.com",
"type": "internal"
},
"shareType": "sign",
"signId": "<string>",
"updates": [
{
"hasChanged": true,
"name": "validUntil",
"newValue": "<string>",
"oldValue": "<string>"
}
],
"verifiedWith": {
"factor": "sms",
"fullname": "<string>",
"fullnameAr": "<string>",
"kycFactors": [
"idVerification"
],
"oauthFactors": [
{
"type": "email",
"value": "<string>"
}
],
"value": "<string>"
}
}
],
"shareActionsCompleted": true,
"shareActive": true,
"shareDuration": 86400000,
"shareFinal": true,
"shareGroup": [
"<string>"
],
"shareOwner": "john.doe@example.com",
"shareSequential": true,
"signatureComponents": [
"signature",
"timestamp"
],
"signId": "<string>",
"state": 123,
"tags": [
"<string>"
],
"threadParentId": "9f1c4e2ab7d4423d8a6f0c5e3b7d1a92",
"titleChanged": true,
"type": "document_signed",
"user": {
"name": "john.doe@example.com",
"type": "internal"
},
"userReceiver": [
{
"name": "john.doe@example.com",
"type": "internal"
}
],
"version": 123
}
],
"id": "a0d01c9d-f72f-4c57-af11-e26bda19cc590",
"lastAction": {
"allowedAddressingGroups": true,
"allowedAddressingUsers": true,
"allowedGroups": [
"Approvers"
],
"allowedUsers": [
"john.doe@example.com"
],
"allowExternal": true,
"archive": true,
"autoSign": true,
"commentForbidden": true,
"commentRequired": true,
"composeTemplate": [
"<string>"
],
"following": "<string>",
"groupFilter": "<string>",
"id": 5,
"important": true,
"isInitial": true,
"multipleReceivers": true,
"multipleSignFieldUsers": true,
"name": "create",
"nextState": 1,
"order": 123,
"predefinedReceiver": true,
"receiver": "john.doe@example.com",
"recipient": true,
"revertSignatures": true,
"rights": "<string>",
"send": true,
"sentiment": "neutral",
"signAction": true,
"signFields": true,
"stateId": 0,
"userFilter": "<string>"
},
"lastRequest": {
"allowedAddressingGroups": true,
"allowedAddressingUsers": true,
"allowedGroups": [
"Approvers"
],
"allowedUsers": [
"john.doe@example.com"
],
"allowExternal": true,
"autoSign": true,
"commentForbidden": true,
"commentRequired": true,
"composeTemplate": [
"<string>"
],
"groupFilter": "<string>",
"id": 5,
"important": true,
"isInitial": true,
"multipleReceivers": true,
"multipleSignFieldUsers": true,
"name": "request_approval",
"nextState": 1,
"order": 123,
"predefinedReceiver": true,
"receiver": "john.doe@example.com",
"recipient": true,
"resolvedBy": 5,
"revertSignatures": true,
"rework": true,
"rights": "<string>",
"sentiment": "neutral",
"sign": true,
"signAction": true,
"signFields": true,
"stateId": 0,
"userFilter": "<string>"
},
"receivedDate": "2023-11-07T05:31:56Z",
"scheduledTransition": {
"actionId": 5,
"fieldReference": "D_EMPLOYMENT_START_DATE",
"on": "2023-11-07T05:31:56Z"
},
"shareStateName": "inprogress",
"state": 1,
"stateName": "created",
"timeOfDuration": 86400000,
"user": [
{
"name": "john.doe@example.com",
"type": "internal"
}
],
"waitingFor": [
{
"action": "sign",
"customActionName": "<string>",
"hasTurn": true,
"hasTurnSince": "2023-11-07T05:31:56Z",
"isMandatory": true,
"order": 123,
"quorum": 123,
"shareId": "sd0oAvfpB4k0yDf787x4",
"user": {
"name": "john.doe@example.com",
"type": "internal"
}
}
],
"workflowType": "wf_archive"
}
]
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 404,
"type": "RESOURCE:NOT_FOUND",
"message": "Resource not found",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Get one revision of a document
GET /revisions/document/{id}/{revision}
Returns a single snapshot in full - the whole document as it stood at that revision, in the same shape the document itself is returned in, including the fields its metadata definition declares. It is what a client shows when somebody opens an older version.
The snapshot is read-only and reading it changes nothing; putting the document back to it is a separate call. What the caller may see is decided by the document as it stands now, not as it stood then, and attachments are held back from a caller who is not allowed to see them.
Token authorization: Authorize using a token — either a session token obtained from login or an API key — to call this endpoint.
Required user rights: view_revisions
curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/revisions/document/{id}/{revision}?token='import requests
url = "https://sandbox.circularo.com/api/v1/revisions/document/{id}/{revision}?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/revisions/document/{id}/{revision}?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/revisions/document/{id}/{revision}?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/revisions/document/{id}/{revision}?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/revisions/document/{id}/{revision}?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/revisions/document/{id}/{revision}?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{
"alerts": [
{
"alertTo": "john.doe@example.com",
"fieldName": "D_EMPLOYMENT_START_DATE",
"message": "The contract expires next week.",
"sent": true,
"timeDiff": 259200000,
"triggerOn": "2023-11-07T05:31:56Z"
}
],
"barcode": "g153bn7qeo63b5kzec7q9cvnxnd03n34d4zkfyjy8m728eqdznf3htxm8mh14d48",
"barcodeContent": "https://app.example.com/verification?id=a0d01c9d-f72f-4c57-af11-e26bda19cc59",
"certificateOfFulfillment": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"commentsOnCompletedAllowed": true,
"content": "<string>",
"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": "ext",
"deletionInfo": {
"deletedBy": "john.doe@example.com",
"deletedDate": "2023-11-07T05:31:56Z",
"isDeleted": true
},
"documentCategory": "Contract",
"documentId": "a0d01c9d-f72f-4c57-af11-e26bda19cc59",
"documentTitle": "Contract Agreement",
"documentType": "d_default",
"enumSelections": [
{
"fieldName": "<string>",
"recordId": [
"<string>"
]
}
],
"expiresOn": "2026-12-31T00:00:00.000Z",
"extractionLanguage": "en",
"extractionOcr": "<string>",
"extractionStatus": "finished",
"extractionText": "<string>",
"file": [
{
"additionalInfo": "<string>",
"content": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fileExtension": "docx",
"fileType": "word",
"hasPassword": true,
"hidden": true,
"merged": true,
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"name": "LegalNotes.docx",
"pages": 8,
"pdfPreview": {
"content": "p7kd2m4s9xq1v8b3n6c0z5w2e7r4t1y9u3i6o8a2s5d7f0g4h1j3k6l9z2x5c8v0b4",
"failureReason": "conversion_error",
"status": "failed_irrecoverable",
"statusDate": "2023-11-07T05:31:56Z"
},
"public": true,
"size": 522481,
"timestamp": "2023-11-07T05:31:56Z",
"unsealedContent": "ug7ib1v3yv6grxcz4ipx8j0f6ekjy6bcgfk8s9uvvvczk0gu9dtvtb46ph39w0f2",
"user": "john.doe@example.com"
}
],
"folder": [
{
"accessible": true,
"level": 123,
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123
}
],
"username": "john.doe@example.com"
}
],
"html": "<string>",
"info": {
"revisionTime": "2023-11-07T05:31:56Z",
"revisionUser": "john.doe@example.com"
},
"isAnnotated": true,
"isFolder": true,
"isSigned": true,
"isSignedInternally": true,
"lastModified": "2023-11-07T05:31:56Z",
"lastSeen": [
{
"date": "2023-11-07T05:31:56Z",
"name": "john.doe@example.com"
}
],
"organization": "d0a72e51-728e-4a1d-9a5c-13796122b6f8",
"pdfFile": {
"additionalInfo": "<string>",
"content": "a219a47b4f5b1xv726cfm36l8k1hkxzwmj5mszvfq6szoambdvc44v6i8hrhntv0",
"fileExtension": "pdf",
"fileType": "pdf",
"hasPassword": true,
"merge": [
{
"end": 12,
"hash": "a219a47b4f5b1xv726cfm36l8k1hkxzwmj5mszvfq6szoambdvc44v6i8hrhntv0",
"start": 1
}
],
"mimetype": "application/pdf",
"name": "Contract.pdf",
"pages": 21,
"size": 724158,
"unsealedContent": "ug7ib1v3yv6grxcz4ipx8j0f6ekjy6bcgfk8s9uvvvczk0gu9dtvtb46ph39w0f2"
},
"preparationDraft": {
"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"
}
]
},
"signatureProvider": "internal",
"signatureType": "signature",
"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"
}
}
],
"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,
"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
}
],
"signStep": "users",
"tsaType": "signatureOnly"
},
"readBy": [
"<string>"
],
"revision": 123,
"rights": {
"editGroups": [
"<string>"
],
"editUsers": [
"<string>"
],
"private": true,
"readGroups": [
"<string>"
],
"readUsers": [
"<string>"
]
},
"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,
"signatureChecksums": [
"<string>"
],
"signatureComponents": [
{
"actor": {
"name": "john.doe@example.com",
"type": "internal"
},
"algorithm": "SHA256withRSA",
"align": "center",
"backgroundColor": "#F5F5F5",
"bold": true,
"color": "#1A1A1A",
"comment": "Reviewed with the legal team.",
"component": "signature",
"coverAll": true,
"date": "2023-11-07T05:31:56Z",
"decorateFile": "frame",
"fileHash": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fingerprintSha256": "A13767DDACA2D1B0ACAEB7CD3145D3D1CE14E208106318968FAF9882C8423F43",
"font": "opensans",
"fontSize": 11,
"imageSignature": true,
"ip": "203.0.113.42",
"isLTV": true,
"isSelfSigned": true,
"issuer": "CN=Example Qualified CA,O=Example Trust Services,C=CZ",
"isVerified": true,
"keyUsage": [
"digitalSignature",
"nonRepudiation"
],
"link": "https://example.com/contracts/2024-114",
"location": "Czechia, Prague, Prague",
"lockRatio": true,
"maxCharacters": 20,
"name": "John Doe",
"pages": [
3
],
"position": {
"percentHeight": 0.03176305676305678,
"percentWidth": 0.43921568627450985,
"percentX": 0.49892906639788337,
"percentY": 0.2465883269647186
},
"qcCompliance": true,
"qcSSCD": true,
"qcTypes": [
"esign"
],
"readOnly": true,
"reason": "Signed securely by John Doe john.doe@example.com",
"reconstructed": true,
"sealProvider": "company-qseal",
"serialNumber": "4DC32DD214A19795A2111484900663142F513989",
"signatureProvider": "internal",
"signee": "john.doe@example.com",
"signId": "29326ml64lg2tjf8cz2ka7edcmpb3u2m7os5af3r09fquo6sbegzgsyebannd4yz",
"signOnBehalfOf": "john.doe@example.com",
"signOnBehalfOfFullname": "John Doe",
"stampName": "Head office stamp",
"subject": "CN=John Doe,O=Example Ltd,C=CZ",
"subtype": "annotation_generic",
"text": "Document validity: ",
"trustedBy": [
"EUTL"
],
"tsaEnabled": true,
"tsaProvider": "CN=Example TSA,O=Example Trust Services,C=CZ",
"tsaServer": "<string>",
"userRoleId": 123,
"userRoleName": "Recipient 1",
"validityFrom": "2023-11-07T05:31:56Z",
"validityTo": "2023-11-07T05:31:56Z"
}
],
"signatureProvider": "internal",
"signatureType": "<string>",
"signFields": [
{
"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
}
],
"sourceTemplate": {
"id": "cba71ea5-9a68-431a-a5c2-6d9932792ec7",
"name": "NDA for new suppliers"
},
"star": [
"<string>"
],
"submittedFiles": [
{
"additionalInfo": "<string>",
"content": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"fileExtension": "pdf",
"fileType": "pdf",
"hasPassword": true,
"mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"name": "IDCardFront.pdf",
"pages": 8,
"pdfPreview": {
"content": "p7kd2m4s9xq1v8b3n6c0z5w2e7r4t1y9u3i6o8a2s5d7f0g4h1j3k6l9z2x5c8v0b4",
"failureReason": "conversion_error",
"status": "failed_irrecoverable",
"statusDate": "2023-11-07T05:31:56Z"
},
"public": true,
"size": 522481,
"timestamp": "2023-11-07T05:31:56Z",
"user": "john.doe@example.com"
}
],
"subscriptions": {
"comment": [
"<string>"
],
"update": [
"<string>"
],
"workflowChange": [
"<string>"
],
"workflowFinished": [
"<string>"
]
},
"tags": [
{
"name": "john.doe@example.com",
"tags": [
"<string>"
]
}
],
"term": {
"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",
"state": "scheduled",
"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"
}
},
"termType": "fixed_term",
"thumbnails": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"tsaType": "signatureOnly",
"usePdfA": true,
"workflow": [
{
"alreadySigned": [
{
"action": "sign",
"customActionName": "<string>",
"hasTurn": true,
"hasTurnSince": "2023-11-07T05:31:56Z",
"isMandatory": true,
"order": 123,
"quorum": 123,
"shareId": "sd0oAvfpB4k0yDf787x4",
"user": {
"name": "john.doe@example.com",
"type": "internal"
}
}
],
"archived": true,
"commentOnlyVersions": [
123
],
"currentShareSeen": [
{
"name": "john.doe@example.com",
"type": "internal"
}
],
"group": [
"<string>"
],
"history": [
{
"action": -17,
"comment": "<string>",
"commentAnchor": {
"page": 1,
"position": {
"percentHeight": 0.03176305676305678,
"percentWidth": 0.43921568627450985,
"percentX": 0.49892906639788337,
"percentY": 0.2465883269647186
}
},
"commentAttachment": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"commentDeleted": true,
"commentLastEditedOn": "2026-09-22T09:15:30.000Z",
"commentResolutionChangedBy": {
"name": "john.doe@example.com",
"type": "internal"
},
"commentResolutionChangedOn": "2026-11-04T10:00:00.000Z",
"commentResolved": true,
"connection": {
"ip": "192.0.2.15",
"location": {
"city": "Pilsen",
"country": "Czech Republic",
"countryCode": "CZ",
"region": "Vysočina"
}
},
"date": "2023-11-07T05:31:56Z",
"fileChanged": true,
"fileName": "contract.pdf",
"groupReceiver": [
"<string>"
],
"hidden": true,
"historyId": "9f1c4e2ab7d4423d8a6f0c5e3b7d1a92",
"isPublicComment": true,
"mentionedDocuments": [
"<string>"
],
"mentionedUsers": [
"jane.doe@example.com"
],
"mimetype": "application/pdf",
"name": "document_signed",
"newExpiresOn": "2027-12-31T00:00:00.000Z",
"newRevision": 123,
"newTitle": "<string>",
"originalExpiresOn": "2026-12-31T00:00:00.000Z",
"originalFileName": "contract.docx",
"originalMimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"originalOwner": "john.doe@example.com",
"originalPublicAttachment": true,
"originalRevision": 123,
"originalTitle": "<string>",
"owner": "jane.doe@example.com",
"publicAttachment": true,
"reactions": [
{
"type": "like",
"users": [
"<string>"
]
}
],
"renewedCount": 123,
"rights": {
"edit": {
"addedGroups": [
"<string>"
],
"addedUsers": [
"jane.doe@example.com"
],
"removedGroups": [
"<string>"
],
"removedUsers": [
"jane.doe@example.com"
]
},
"madePrivate": true,
"madePublic": true,
"read": {
"addedGroups": [
"<string>"
],
"addedUsers": [
"jane.doe@example.com"
],
"removedGroups": [
"<string>"
],
"removedUsers": [
"jane.doe@example.com"
]
}
},
"sent": true,
"share": [
{
"active": true,
"customActionName": "<string>",
"delegated": true,
"delegatedChainId": "sd0oAvfpB4k0yDf787x4",
"delegatedFrom": "sd0oAvfpB4k0yDf787x4",
"isMandatory": true,
"order": 1,
"originalShareType": "sign",
"phone": "+420123456789",
"positive": true,
"quorum": 2,
"rights": [
"print",
"metadata"
],
"shareDuration": 86400000,
"shareExpiration": "2023-11-07T05:31:56Z",
"shareId": "sd0oAvfpB4k0yDf787x4",
"shareMode": "sms_protected",
"shareReminded": true,
"shareSeen": true,
"shareStateName": "inprogress",
"shareTo": {
"name": "john.doe@example.com",
"type": "internal"
},
"shareType": "sign",
"signId": "<string>",
"updates": [
{
"hasChanged": true,
"name": "validUntil",
"newValue": "<string>",
"oldValue": "<string>"
}
],
"verifiedWith": {
"factor": "sms",
"fullname": "<string>",
"fullnameAr": "<string>",
"kycFactors": [
"idVerification"
],
"oauthFactors": [
{
"type": "email",
"value": "<string>"
}
],
"value": "<string>"
}
}
],
"shareActionsCompleted": true,
"shareActive": true,
"shareDuration": 86400000,
"shareFinal": true,
"shareGroup": [
"<string>"
],
"shareOwner": "john.doe@example.com",
"shareSequential": true,
"signatureComponents": [
"signature",
"timestamp"
],
"signId": "<string>",
"state": 123,
"tags": [
"<string>"
],
"threadParentId": "9f1c4e2ab7d4423d8a6f0c5e3b7d1a92",
"titleChanged": true,
"type": "document_signed",
"user": {
"name": "john.doe@example.com",
"type": "internal"
},
"userReceiver": [
{
"name": "john.doe@example.com",
"type": "internal"
}
],
"version": 123
}
],
"id": "a0d01c9d-f72f-4c57-af11-e26bda19cc590",
"lastAction": {
"allowedAddressingGroups": true,
"allowedAddressingUsers": true,
"allowedGroups": [
"Approvers"
],
"allowedUsers": [
"john.doe@example.com"
],
"allowExternal": true,
"archive": true,
"autoSign": true,
"commentForbidden": true,
"commentRequired": true,
"composeTemplate": [
"<string>"
],
"following": "<string>",
"groupFilter": "<string>",
"id": 5,
"important": true,
"isInitial": true,
"multipleReceivers": true,
"multipleSignFieldUsers": true,
"name": "create",
"nextState": 1,
"order": 123,
"predefinedReceiver": true,
"receiver": "john.doe@example.com",
"recipient": true,
"revertSignatures": true,
"rights": "<string>",
"send": true,
"sentiment": "neutral",
"signAction": true,
"signFields": true,
"stateId": 0,
"userFilter": "<string>"
},
"lastRequest": {
"allowedAddressingGroups": true,
"allowedAddressingUsers": true,
"allowedGroups": [
"Approvers"
],
"allowedUsers": [
"john.doe@example.com"
],
"allowExternal": true,
"autoSign": true,
"commentForbidden": true,
"commentRequired": true,
"composeTemplate": [
"<string>"
],
"groupFilter": "<string>",
"id": 5,
"important": true,
"isInitial": true,
"multipleReceivers": true,
"multipleSignFieldUsers": true,
"name": "request_approval",
"nextState": 1,
"order": 123,
"predefinedReceiver": true,
"receiver": "john.doe@example.com",
"recipient": true,
"resolvedBy": 5,
"revertSignatures": true,
"rework": true,
"rights": "<string>",
"sentiment": "neutral",
"sign": true,
"signAction": true,
"signFields": true,
"stateId": 0,
"userFilter": "<string>"
},
"receivedDate": "2023-11-07T05:31:56Z",
"scheduledTransition": {
"actionId": 5,
"fieldReference": "D_EMPLOYMENT_START_DATE",
"on": "2023-11-07T05:31:56Z"
},
"shareStateName": "inprogress",
"state": 1,
"stateName": "created",
"timeOfDuration": 86400000,
"user": [
{
"name": "john.doe@example.com",
"type": "internal"
}
],
"waitingFor": [
{
"action": "sign",
"customActionName": "<string>",
"hasTurn": true,
"hasTurnSince": "2023-11-07T05:31:56Z",
"isMandatory": true,
"order": 123,
"quorum": 123,
"shareId": "sd0oAvfpB4k0yDf787x4",
"user": {
"name": "john.doe@example.com",
"type": "internal"
}
}
],
"workflowType": "wf_archive"
}
]
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 404,
"type": "RESOURCE:NOT_FOUND",
"message": "Resource not found",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Path Parameters
Response
Returns the document as it stood at that revision.
The document as it stood at this revision, in the same shape the document itself is returned in. The fields declared by its metadata definition sit next to the ones listed here, so the properties actually present depend on the definition the document belongs to.
Whether comments may still be added once the document's process has ended. The value is frozen when the process finishes, taken from the settings of the user who completed it, or from the owner's settings when that user has none or belongs to a different organization.
Kind of term the document had at this revision. It is absent when the document had neither an expiration date nor a non-fixed term.
fixed_term: The document expires on a set date and its contract is renewed, automatically or by hand.expiry_only: The document expires on a set date and nothing renews it.non_fixed_term: The contract runs until it is terminated. The document expires only once a termination has started, the notice period after it.
fixed_term, expiry_only, non_fixed_term, null