Signicat Sign API (v1)
Download OpenAPI specification:Download
The Sign API is an API for managing documents and signing orders as part of Signicat Sign
Documents are stored short-term in Signicat's Session Data Storage. Documents are referenced by a documentID.
Archived documents are stored long-term in Signicat's document archive. Archived documents are referenced by an archiveID.
Get archived document
Get a document from Signicat's document archive
Authorizations:
path Parameters
archiveId required | string Example: 200320193lrce4j85hpgdns4ivbuts5dy7pgarm1e0iozjq4qh2tey77jv The ID of the document stored in Signicat's document archive. |
Responses
Response samples
- 200
"string"
Delete archived document
Delete a document from Signicat's document archive
Authorizations:
path Parameters
archiveId required | string Example: 200320193lrce4j85hpgdns4ivbuts5dy7pgarm1e0iozjq4qh2tey77jv The ID of the document stored in Signicat's document archive. |
Responses
Response samples
- 404
{- "status": 0,
- "type": "string",
- "title": "string",
- "detail": "string"
}
A signing order represents a single signing process, which can consist of one or more documents and signees
Create signing order
Create a new signing order
Authorizations:
Request Body schema: application/jsonrequired
clientReference | string [ 1 .. 255 ] characters A client specific reference. This value will not be used by the service, but will be returned to the client. |
required | Array of objects (Task) [ 1 .. 2147483647 ] items One or more tasks. See the documentation of the Task data type. |
Array of objects (SigningOrderNotification) [ 1 .. 2147483647 ] items One or more notifications that will be sent when the signing order has been completed | |
daysUntilDeletion | integer <int32> [ 1 .. 30 ] The number of days before the signing order is automatically deleted from Signicat’s storage, after every task's days-to-live have passed. (see daysToLive on the Task element). Documents in the archive will not be deleted even if the signing order that created the documents is deleted. All documents that are not in the archive will be deleted. |
Array of objects (PackagingTask) [ 1 .. 2147483647 ] items | |
Array of objects (NotificationTemplateParams) [ 1 .. 2147483647 ] items A list of template params objects to be used to be used in task notifications of type EMAIL |
Responses
Request samples
- Payload
{- "clientReference": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "tasks": [
- {
- "id": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "profile": "default",
- "language": "nb",
- "daysToLive": 7,
- "configuration": "pades",
- "documents": [
- {
- "id": "7f5be5ec-650e-4d6e-9007-e420a7dd81aa",
- "description": "Loan agreement",
- "action": "SIGN",
- "source": "SESSION",
- "documentRef": "0807201949xfrupvbzx7o07uihsihsx3xllslasvk8qtaojow3792xjucp",
- "externalReference": "427bbe68-a161-11e9-a2a3-2a2ae2dbcce4",
- "signTextEntry": "ID: 134256",
- "sendResultToArchive": true,
- "form": {
- "interactive": true,
- "inputParams": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
], - "signatureMethods": [
- {
- "name": "nbid-sign",
- "type": "SIGNED_STATEMENT",
- "handwritten": false
}
], - "authentication": {
- "methods": [
- "nbid",
- "nbid-mobil"
], - "artifact": false
}, - "dialog": {
- "title": "Signing request",
- "message": "Please sign these documents"
}, - "notifications": [
- {
- "notificationTemplateParamsId": "string",
- "id": "c68c7fd4-600c-4e4c-964e-8e8d15a24e61",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Task completed",
- "message": "A task belonging to the signing order with ID ${orderId} has been completed.",
- "type": "EMAIL",
- "schedule": [
- {
- "triggerStatus": "COMPLETED",
- "delay": {
- "minutes": 30,
- "hours": 12,
- "days": 7
}
}
]
}
], - "signText": "string",
- "subject": {
- "id": "u7s9ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "attributes": [
- {
- "name": "national-id",
- "value": "10109001290",
- "methods": [
- "nbid-sign"
]
}
], - "loginHints": [
- {
- "name": "string",
- "value": "string",
- "methods": [
- "string"
]
}
]
}, - "dependsOnTasks": [
- "string"
], - "useLegacyDocumentViewer": false
}
], - "notifications": [
- {
- "id": "25e0e0de-a171-11e9-a2a3-2a2ae2dbcce4",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Signingorder completed",
- "message": "Ginny and Tinky have completed their tasks and the signing order with ID ${orderId} is completed.",
- "type": "EMAIL"
}
], - "daysUntilDeletion": 7,
- "packagingTasks": [
- {
- "id": "83241c55-8813-495c-9d2f-390b6a39ea29",
- "sendToArchive": true,
- "method": "pades",
- "notifications": [
- {
- "id": "e650b754-21dd-4c82-abc4-6f992bd4c271",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Packaging task completed.",
- "message": "A packaging task has been completed.",
- "type": "EMAIL",
- "schedule": [
- {
- "triggerStatus": "COMPLETED"
}
]
}
], - "documents": [
- {
- "taskId": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "documentIds": [
- "7f5be5ec-650e-4d6e-9007-e420a7dd81aa"
]
}
]
}
], - "notificationTemplateParams": [
- {
- "id": "c68c7fd4-600c-4e4c-964e-8e8d15a24e61",
- "footer": "Footer text \\n ©Signicat",
- "button": "Click here to sign",
- "linkText": "You can also copy this link into your browser",
}
]
}
Response samples
- 201
- 400
{- "id": "string",
- "artifact": "9dda9sv2of79fgbwvwvj09w0a",
- "clientReference": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "tasks": [
- {
- "id": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "profile": "default",
- "language": "nb",
- "daysToLive": 7,
- "configuration": "pades",
- "documents": [
- {
- "id": "7f5be5ec-650e-4d6e-9007-e420a7dd81aa",
- "description": "Loan agreement",
- "action": "SIGN",
- "source": "SESSION",
- "documentRef": "0807201949xfrupvbzx7o07uihsihsx3xllslasvk8qtaojow3792xjucp",
- "externalReference": "427bbe68-a161-11e9-a2a3-2a2ae2dbcce4",
- "signTextEntry": "ID: 134256",
- "sendResultToArchive": true,
- "form": {
- "interactive": true,
- "inputParams": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
], - "signatureMethods": [
- {
- "name": "nbid-sign",
- "type": "SIGNED_STATEMENT",
- "handwritten": false
}
], - "authentication": {
- "methods": [
- "nbid",
- "nbid-mobil"
], - "artifact": false
}, - "dialog": {
- "title": "Signing request",
- "message": "Please sign these documents"
}, - "notifications": [
- {
- "notificationTemplateParamsId": "string",
- "id": "c68c7fd4-600c-4e4c-964e-8e8d15a24e61",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Task completed",
- "message": "A task belonging to the signing order with ID ${orderId} has been completed.",
- "type": "EMAIL",
- "schedule": [
- {
- "triggerStatus": "COMPLETED",
- "delay": {
- "minutes": 30,
- "hours": 12,
- "days": 7
}
}
]
}
], - "signText": "string",
- "subject": {
- "id": "u7s9ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "attributes": [
- {
- "name": "national-id",
- "value": "10109001290",
- "methods": [
- "nbid-sign"
]
}
], - "loginHints": [
- {
- "name": "string",
- "value": "string",
- "methods": [
- "string"
]
}
]
}, - "dependsOnTasks": [
- "string"
], - "useLegacyDocumentViewer": false
}
], - "notifications": [
- {
- "id": "25e0e0de-a171-11e9-a2a3-2a2ae2dbcce4",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Signingorder completed",
- "message": "Ginny and Tinky have completed their tasks and the signing order with ID ${orderId} is completed.",
- "type": "EMAIL"
}
], - "daysUntilDeletion": 7,
- "packagingTasks": [
- {
- "id": "83241c55-8813-495c-9d2f-390b6a39ea29",
- "sendToArchive": true,
- "method": "pades",
- "notifications": [
- {
- "id": "e650b754-21dd-4c82-abc4-6f992bd4c271",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Packaging task completed.",
- "message": "A packaging task has been completed.",
- "type": "EMAIL",
- "schedule": [
- {
- "triggerStatus": "COMPLETED"
}
]
}
], - "documents": [
- {
- "taskId": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "documentIds": [
- "7f5be5ec-650e-4d6e-9007-e420a7dd81aa"
]
}
]
}
], - "notificationTemplateParams": [
- {
- "id": "c68c7fd4-600c-4e4c-964e-8e8d15a24e61",
- "footer": "Footer text \\n ©Signicat",
- "button": "Click here to sign",
- "linkText": "You can also copy this link into your browser",
}
]
}
Get signing order
Return the signing order with the given ID
Authorizations:
path Parameters
orderId required | string |
Responses
Response samples
- 200
- 404
{- "id": "string",
- "artifact": "9dda9sv2of79fgbwvwvj09w0a",
- "clientReference": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "tasks": [
- {
- "id": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "profile": "default",
- "language": "nb",
- "daysToLive": 7,
- "configuration": "pades",
- "documents": [
- {
- "id": "7f5be5ec-650e-4d6e-9007-e420a7dd81aa",
- "description": "Loan agreement",
- "action": "SIGN",
- "source": "SESSION",
- "documentRef": "0807201949xfrupvbzx7o07uihsihsx3xllslasvk8qtaojow3792xjucp",
- "externalReference": "427bbe68-a161-11e9-a2a3-2a2ae2dbcce4",
- "signTextEntry": "ID: 134256",
- "sendResultToArchive": true,
- "form": {
- "interactive": true,
- "inputParams": [
- {
- "name": "string",
- "value": "string"
}
]
}
}
], - "signatureMethods": [
- {
- "name": "nbid-sign",
- "type": "SIGNED_STATEMENT",
- "handwritten": false
}
], - "authentication": {
- "methods": [
- "nbid",
- "nbid-mobil"
], - "artifact": false
}, - "dialog": {
- "title": "Signing request",
- "message": "Please sign these documents"
}, - "notifications": [
- {
- "notificationTemplateParamsId": "string",
- "id": "c68c7fd4-600c-4e4c-964e-8e8d15a24e61",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Task completed",
- "message": "A task belonging to the signing order with ID ${orderId} has been completed.",
- "type": "EMAIL",
- "schedule": [
- {
- "triggerStatus": "COMPLETED",
- "delay": {
- "minutes": 30,
- "hours": 12,
- "days": 7
}
}
]
}
], - "signText": "string",
- "subject": {
- "id": "u7s9ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "attributes": [
- {
- "name": "national-id",
- "value": "10109001290",
- "methods": [
- "nbid-sign"
]
}
], - "loginHints": [
- {
- "name": "string",
- "value": "string",
- "methods": [
- "string"
]
}
]
}, - "dependsOnTasks": [
- "string"
], - "useLegacyDocumentViewer": false
}
], - "notifications": [
- {
- "id": "25e0e0de-a171-11e9-a2a3-2a2ae2dbcce4",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Signingorder completed",
- "message": "Ginny and Tinky have completed their tasks and the signing order with ID ${orderId} is completed.",
- "type": "EMAIL"
}
], - "daysUntilDeletion": 7,
- "packagingTasks": [
- {
- "id": "83241c55-8813-495c-9d2f-390b6a39ea29",
- "sendToArchive": true,
- "method": "pades",
- "notifications": [
- {
- "id": "e650b754-21dd-4c82-abc4-6f992bd4c271",
- "recipient": "noreply@signicat.com",
- "sender": "signicat",
- "header": "Packaging task completed.",
- "message": "A packaging task has been completed.",
- "type": "EMAIL",
- "schedule": [
- {
- "triggerStatus": "COMPLETED"
}
]
}
], - "documents": [
- {
- "taskId": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "documentIds": [
- "7f5be5ec-650e-4d6e-9007-e420a7dd81aa"
]
}
]
}
], - "notificationTemplateParams": [
- {
- "id": "c68c7fd4-600c-4e4c-964e-8e8d15a24e61",
- "footer": "Footer text \\n ©Signicat",
- "button": "Click here to sign",
- "linkText": "You can also copy this link into your browser",
}
]
}
Get packaging task status
Get the status of a packaging task
Authorizations:
path Parameters
packagingTaskId required | string |
orderId required | string |
Responses
Response samples
- 200
- 404
{- "orderId": "05022019298twl5n4wo4soavolfwnxev9rxfghqapyk8junju1wxqamkeq",
- "packagingTaskId": "f727d294-a3b9-49c7-af99-4a217fc1d8fd",
- "packagingTaskStatus": "COMPLETED",
- "packagingTaskResultUri": "https://api.signicat.com/enterprise/sign/orders/<SIGNINGORDER-ID>/packaging-tasks/<PACKAGING-TASK-ID>/result"
}
Get the authentication artifact for a task
Generate the value of the authentication artifact. Replaces the old artifact if one exists.
Authorizations:
path Parameters
taskId required | string |
orderId required | string |
Responses
Response samples
- 200
- 400
{- "artifact": "brcbedszcdzl040nuhn9wmh9g",
- "orderId": "05022019298twl5n4wo4soavolfwnxev9rxfghqapyk8junju1wxqamkeq",
- "taskId": "537c8bf6-9b02-49d7-97d1-8d7ad2be36bf",
}
Get a list of task events
Get a list of events that have occurred on a task
Authorizations:
path Parameters
taskId required | string |
orderId required | string |
Responses
Response samples
- 200
- 404
[- {
- "eventType": "notification-sent",
- "eventTime": "2019-08-24T14:15:22Z",
- "data": "Notification by EMAIL was sent to noreply@signicat.com"
}
]
Get a list describing details on the forwarding of this Task
Return information related to the forwarding of this task
Authorizations:
path Parameters
taskId required | string |
orderId required | string |
Responses
Response samples
- 200
- 404
[- {
- "orderId": "05022019298twl5n4wo4soavolfwnxev9rxfghqapyk8junju1wxqamkeq",
- "taskId": "537c8bf6-9b02-49d7-97d1-8d7ad2be36bf",
- "originalTaskId": "b8a5ccdc-d79b-412e-a20e-03c2a8c8cdd2",
- "forwarderName": "Ola Nordmann",
- "forwarderEmail": "olanordmann@example.com",
- "recipientName": "Kari Nordmann",
- "recipientEmail": "kari@example.com",
- "recipientMobile": "+4711223344"
}
]
Get task status
Get signing order task current status
Authorizations:
path Parameters
taskId required | string |
orderId required | string |
Responses
Response samples
- 200
- 404
{- "orderId": "05022019298twl5n4wo4soavolfwnxev9rxfghqapyk8junju1wxqamkeq",
- "taskId": "537c8bf6-9b02-49d7-97d1-8d7ad2be36bf",
- "taskStatus": "COMPLETED",
- "clientReference": "d8e75ef7-6b3c-4511-b2ee-2b419a0c5cea",
- "clientStatus": "fbcf52a7-a952-41fc-82d9-beefbe094f6f",
- "documents": [
- {
- "id": "fbcf52a7-a952-41fc-82d9-beefbe094f6f",
- "formOutputParam": [
- {
- "name": "string",
- "value": "string"
}
]
}
], - "rejectReason": "The document was written in Klingon, while I only speak Sindarin"
}