Download OpenAPI specification:Download
Uploads the document as a binary stream; MIME type is defined by the Content-Type header. The response will be the resulting document reference.
| Content-Type required | string Content type header |
{- "mimeType": "application/pdf",
- "documentId": "d1234567-89ab-cdef-0123-456789abcdef",
- "createdAt": "2023-04-12T10:30:00Z",
- "documentHash": {
- "hash": "string",
- "hashAlgorithm": "SHA256"
}
}| documentId required | string <uuid> Document ID parameter |
{- "status": 500,
- "title": "Internal server error",
- "code": "internal_server_error",
- "traceId": "ffb75ca1385ecb0a362ff9cd029d23de",
- "invalidParams": [
- {
- "name": "version",
- "reason": "must be greater than 0"
}
], - "detail": "An internal server error happened."
}| documentId required | string <uuid> Document ID parameter |
| filename | string <= 255 characters Example: "invoice_001.pdf" A name to use if the document is to be stored as a file. Optional metadata about the stored document which the customer can supply. |
| description | string <= 1000 characters Example: "Invoice for order #001" A description of the document for display purposes. Optional metadata about the stored document which the customer can supply. |
| title | string <= 255 characters Example: "Invoice #001" A title of the document for display purposes. Optional metadata about the stored document which the customer can supply. |
{- "filename": "invoice_001.pdf",
- "description": "Invoice for order #001",
- "title": "Invoice #001"
}{- "mimeType": "application/pdf",
- "documentId": "d1234567-89ab-cdef-0123-456789abcdef",
- "createdAt": "2023-04-12T10:30:00Z",
- "documentHash": {
- "hash": "string",
- "hashAlgorithm": "SHA256"
}, - "filename": "invoice_001.pdf",
- "description": "Invoice for order #001",
- "title": "Invoice #001"
}| documentId required | string <uuid> Document ID parameter |
{- "mimeType": "application/pdf",
- "documentId": "d1234567-89ab-cdef-0123-456789abcdef",
- "createdAt": "2023-04-12T10:30:00Z",
- "documentHash": {
- "hash": "string",
- "hashAlgorithm": "SHA256"
}, - "filename": "invoice_001.pdf",
- "description": "Invoice for order #001",
- "title": "Invoice #001"
}Creates new document collection. A document collection is a logical grouping of documents that will be signed together.
required | Array of objects (DocumentReference) [ 1 .. 100 ] items |
| packageTo | Array of strings (PackageType) <= 5 items Items Value: "PADES_CONTAINER" A list of formats the collection should be packaged to when all sessions connected to it are signed. |
{- "documents": [
- {
- "documentId": "15197b79-6333-4fa5-9e4c-23b9392a838f"
}
], - "packageTo": [
- "PADES_CONTAINER"
]
}{- "id": "f05d0dce-a7af-432b-b6b8-e455ab7c0858",
- "documents": [
- {
- "documentId": "15197b79-6333-4fa5-9e4c-23b9392a838f"
}
], - "packageTo": [
- "PADES_CONTAINER"
], - "output": {
- "packages": [
- {
- "packageId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultArchiveId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "packageType": "PADES_CONTAINER"
}
]
}
}Returns the document collection with the given ID.
| documentCollectionId required | string <uuid> The unique ID of the document collection. |
{- "id": "f05d0dce-a7af-432b-b6b8-e455ab7c0858",
- "documents": [
- {
- "documentId": "15197b79-6333-4fa5-9e4c-23b9392a838f"
}
], - "packageTo": [
- "PADES_CONTAINER"
], - "output": {
- "packages": [
- {
- "packageId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultArchiveId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "packageType": "PADES_CONTAINER"
}
]
}
}Deletes the document collection with the given ID.
| documentCollectionId required | string <uuid> The unique ID of the document collection. |
{- "title": "Bad request",
- "status": 400,
- "code": "bad_request",
- "detail": "The request was malformed."
}Creates a new signing session.
| signatureUrlTTL | integer [ 5 .. 525600 ] Example: "5" Time-to-live for the signature URL in minutes |
| title required | string <= 255 characters Example: "Rental agreement" Signing session title shown in the signing interface if configured. |
| signText | string <= 2048 characters Example: "Please sign this document" Text displayed when starting the signing process. The signer must explicitly consent to this text before signing. |
| dueDate | string <date-time> Example: "2025-04-01T17:32:28Z" The deadline for signing the document(s). Can be a maximum of 45 days into the future from the current date. |
required | Array of objects (SessionDocument) [ 1 .. 50 ] items |
| externalReference | string or null <= 1024 characters Custom identifier for linking the signing session to your internal process. Passed back in redirect URLs. |
required | Array of objects (SigningSetup) = 1 items The user interaction setups for this signing session describing which IDPs are available for the end-user. |
| subsequentTo | Array of strings <uuid> <= 50 items [ items <uuid > ] Example: ["f05d0dce-a7af-432b-b6b8-e455ab7c0858"] IDs of signing sessions that must be signed before this one. |
| packageTo | Array of strings (PackageType) <= 5 items Items Value: "PADES_CONTAINER" A list of formats the signing session should be packaged to when signed. |
object (Signer) The intended signer of the signing Session. | |
object (ArchiveSettings) Defines what objects should be added to archive. To use this functionality you must contact Signicat Support. | |
object (PreAuthentication) Sets up authentication of the signer before presenting documents. | |
object (Ui) Defines UI settings for the signing session. | |
object (RedirectSettings) Defines URLs for redirects. |
[- {
- "signatureUrlTTL": 5,
- "title": "Rental agreement",
- "signText": "Please sign this document",
- "dueDate": "2025-04-01T17:32:28Z",
- "documents": [
- {
- "documentCollectionId": "f05d0dce-a7af-432b-b6b8-e455ab7c0853",
- "action": "SIGN",
- "documentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0857"
}
], - "externalReference": "string",
- "signingSetup": [
- {
- "identityProviders": [
- {
- "idpName": "string"
}
], - "signingFlow": "AUTHENTICATION_BASED",
- "additionalParameters": {
- "property1": "string",
- "property2": "string"
}
}
], - "subsequentTo": [
- "f05d0dce-a7af-432b-b6b8-e455ab7c0858"
], - "packageTo": [
- "PADES_CONTAINER"
], - "signer": {
- "nationalIdentificationNumber": "string",
- "validations": [
- "NATIONAL_IDENTIFICATION_NUMBER"
]
}, - "archive": {
- "sendSignatureResultsToArchive": true,
- "sendPackagingResultToArchive": true,
- "retentionPeriod": "P1Y"
}, - "preAuthentication": {
- "enabled": true
}, - "ui": {
- "language": "da",
- "hideWelcomeScreen": true,
- "minimalTextMode": true
}, - "redirectSettings": {
}
}
][- {
- "id": "f05d0dce-a7af-432b-b6b8-e455ab7c0852",
- "signatureUrlTTL": 5,
- "signatureUrlExpiresAt": "2026-01-15T14:05:00Z",
- "title": "Rental agreement",
- "signText": "Please sign this document",
- "dueDate": "2025-04-01T17:32:28Z",
- "documents": [
- {
- "documentCollectionId": "f05d0dce-a7af-432b-b6b8-e455ab7c0853",
- "action": "SIGN",
- "documentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0857"
}
], - "lifecycle": {
- "state": "BLOCKED",
- "stateIsFinal": true
}, - "output": {
- "signatures": [
- {
- "documentCollectionId": "f05d0dce-a7af-432b-b6b8-e455ab7c0854",
- "resultDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0855",
- "originalDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0856",
- "resultArchiveId": "f05d0dce-a7af-432b-b6b8-e455ab7c0857",
- "signatureType": "XADES"
}
], - "packages": [
- {
- "packageId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultArchiveId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "packageType": "PADES_CONTAINER"
}
]
}, - "externalReference": "string",
- "signingSetup": [
- {
- "identityProviders": [
- {
- "idpName": "string"
}
], - "signingFlow": "AUTHENTICATION_BASED",
- "additionalParameters": {
- "property1": "string",
- "property2": "string"
}
}
], - "subsequentTo": [
- "f05d0dce-a7af-432b-b6b8-e455ab7c0858"
], - "packageTo": [
- "PADES_CONTAINER"
], - "signer": {
- "nationalIdentificationNumber": "string",
- "validations": [
- "NATIONAL_IDENTIFICATION_NUMBER"
]
}, - "archive": {
- "sendSignatureResultsToArchive": true,
- "sendPackagingResultToArchive": true,
- "retentionPeriod": "P1Y"
}, - "preAuthentication": {
- "enabled": true
}, - "ui": {
- "language": "da",
- "hideWelcomeScreen": true,
- "minimalTextMode": true
}, - "redirectSettings": {
}
}
]Returns a paginated list of signing sessions, with optional controls for offset, limit and sort.
| offset | integer [ 0 .. 100000 ] Default: 0 Number of rows to skip before returning results. |
| limit | integer [ 1 .. 1000 ] Default: 100 Maximum number of rows to return. |
| sort | Array of strings Sorting field. Default value is -createdAt. E.g., +dueDate |
| createdDateFrom | string Example: createdDateFrom=2024-01-01T00:00:00Z Filter signing sessions created on or after this date and time |
| createdDateTo | string Example: createdDateTo=2024-12-31T23:59:59Z Filter signing sessions created on or before this date and time |
| state | Array of strings Example: state=READY&state=BLOCKED Search field for state. Multiple values allowed. E.g., BLOCKED, READY. See also SessionState enum for possible values. |
| dueDateFrom | string Example: dueDateFrom=2024-06-01T00:00:00Z Filter signing sessions with due date on or after this date and time |
| dueDateTo | string Example: dueDateTo=2024-06-30T23:59:59Z Filter signing sessions with due date on or before this date and time |
| sessionTitleLike | string Example: sessionTitleLike=Contract Filter signing sessions by title using partial text matching (case-insensitive) |
{- "limit": 100,
- "offset": 0,
- "count": 100,
- "total": 1000,
- "data": [
- {
- "id": "f05d0dce-a7af-432b-b6b8-e455ab7c0852",
- "signatureUrlTTL": 5,
- "signatureUrlExpiresAt": "2026-01-15T14:05:00Z",
- "title": "Rental agreement",
- "signText": "Please sign this document",
- "dueDate": "2025-04-01T17:32:28Z",
- "documents": [
- {
- "documentCollectionId": "f05d0dce-a7af-432b-b6b8-e455ab7c0853",
- "action": "SIGN",
- "documentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0857"
}
], - "lifecycle": {
- "state": "BLOCKED",
- "stateIsFinal": true
}, - "output": {
- "signatures": [
- {
- "documentCollectionId": "f05d0dce-a7af-432b-b6b8-e455ab7c0854",
- "resultDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0855",
- "originalDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0856",
- "resultArchiveId": "f05d0dce-a7af-432b-b6b8-e455ab7c0857",
- "signatureType": "XADES"
}
], - "packages": [
- {
- "packageId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultArchiveId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "packageType": "PADES_CONTAINER"
}
]
}, - "externalReference": "string",
- "signingSetup": [
- {
- "identityProviders": [
- {
- "idpName": "string"
}
], - "signingFlow": "AUTHENTICATION_BASED",
- "additionalParameters": {
- "property1": "string",
- "property2": "string"
}
}
], - "subsequentTo": [
- "f05d0dce-a7af-432b-b6b8-e455ab7c0858"
], - "packageTo": [
- "PADES_CONTAINER"
], - "signer": {
- "nationalIdentificationNumber": "string",
- "validations": [
- "NATIONAL_IDENTIFICATION_NUMBER"
]
}, - "archive": {
- "sendSignatureResultsToArchive": true,
- "sendPackagingResultToArchive": true,
- "retentionPeriod": "P1Y"
}, - "preAuthentication": {
- "enabled": true
}, - "ui": {
- "language": "da",
- "hideWelcomeScreen": true,
- "minimalTextMode": true
}, - "redirectSettings": {
}
}
]
}Returns the signing session with the given ID.
| sessionId required | string <uuid> |
{- "id": "f05d0dce-a7af-432b-b6b8-e455ab7c0852",
- "signatureUrlTTL": 5,
- "signatureUrlExpiresAt": "2026-01-15T14:05:00Z",
- "title": "Rental agreement",
- "signText": "Please sign this document",
- "dueDate": "2025-04-01T17:32:28Z",
- "documents": [
- {
- "documentCollectionId": "f05d0dce-a7af-432b-b6b8-e455ab7c0853",
- "action": "SIGN",
- "documentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0857"
}
], - "lifecycle": {
- "state": "BLOCKED",
- "stateIsFinal": true
}, - "output": {
- "signatures": [
- {
- "documentCollectionId": "f05d0dce-a7af-432b-b6b8-e455ab7c0854",
- "resultDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0855",
- "originalDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0856",
- "resultArchiveId": "f05d0dce-a7af-432b-b6b8-e455ab7c0857",
- "signatureType": "XADES"
}
], - "packages": [
- {
- "packageId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultDocumentId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "resultArchiveId": "f05d0dce-a7af-432b-b6b8-e455ab7c0863",
- "packageType": "PADES_CONTAINER"
}
]
}, - "externalReference": "string",
- "signingSetup": [
- {
- "identityProviders": [
- {
- "idpName": "string"
}
], - "signingFlow": "AUTHENTICATION_BASED",
- "additionalParameters": {
- "property1": "string",
- "property2": "string"
}
}
], - "subsequentTo": [
- "f05d0dce-a7af-432b-b6b8-e455ab7c0858"
], - "packageTo": [
- "PADES_CONTAINER"
], - "signer": {
- "nationalIdentificationNumber": "string",
- "validations": [
- "NATIONAL_IDENTIFICATION_NUMBER"
]
}, - "archive": {
- "sendSignatureResultsToArchive": true,
- "sendPackagingResultToArchive": true,
- "retentionPeriod": "P1Y"
}, - "preAuthentication": {
- "enabled": true
}, - "ui": {
- "language": "da",
- "hideWelcomeScreen": true,
- "minimalTextMode": true
}, - "redirectSettings": {
}
}Deletes the signing session with the given ID.
| sessionId required | string <uuid> |
{- "title": "Bad request",
- "status": 400,
- "code": "bad_request",
- "detail": "The request was malformed."
}