Getting signed documents

After the signing process finished and all documents are signed the SignatureRequestCompleted event is fired via webhook. See Working with webhooks section for more details.

Then it is possible to fetch the signed documents and their metadata from the storage and metadata services.

Get metadata of the document

Request

GET https://api-test.vincitsign.com/metadata/document/{documentId}
Authorization: Bearer {Received token value from login service}
Ocp-Apim-Subscription-Key: {subscription-key}

Response

{
  "total": 0,
  "items": [
    {
      "key": "string",
      "value": "string",
      "entityId": "string",
      "entityType": "SignatureRequest"
    }
  ]
}

Get document binary

Request

GET https://api-test.vincitsign.com/storage/document/{uri}
Authorization: Bearer {Received token value from login service}
Ocp-Apim-Subscription-Key: {subscription-key}

Response

The binary file with application/octet-stream MIME type.