Merge & Timestamp Document(s)
You can timestamp your uploaded document to DPS.
Steps of Creating timestamp Document
Creating timestamp documents with DPS is very simple.
1. Provide a list of document hash
First, you need to provide the details of your document like the documentHash
in the list so that the DPS system will create a timestamp document by merging all the list of document hashes that you are going to pass and it will return you a timestamp DocumentHash
.
Note
In step 1, the DPS server will only accept the original document hash, not the already timestamped document, you can create a timestamped document by using only the list of un-timestamp documents.
URL Config
Endpoint: https://api.dps.io/api
APIVersion: v1
route: documents/notaries
path:
Method
POST
URL
https://api.dps.io/api/v1/documents/notaries
Request Headers
{
"Content-Type": "application/json",
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Request Body
{
"ShipperHash":"{{ShipperHash}}",
"DocumentHashList": ["YOUR FIRST DOCUMENT HASH", "SECOND DOCUMENT HASH", "..."],
}
Curl request
curl --location --request POST 'https://api.dps.io/api/v1/documents/notaries' \
--header 'x-api-key: xxxxxxdfjbdjdfjdhfxxxxxxx' \
--header 'ShipperHash: 7z2P*******************sbzAg' \
--header 'Content-Type: application/json' \
--data-raw '{
"ShipperHash": "7z2P*******************bzAg",
"DocumentHashList": ["7T6G4**************ptV1T"]
}'
Response
{
"message": "Document notarization task successfully added to queue.",
"status_code": 200,
"DocumentHash": "BabR**************nmZD",
"PageCount": 3,
"Key": "multi_file_pdf/7z2PCpaQhtfEslsessbzAg/BabR**************nmZD/merged_doc.pdf"
}
response Details
Key | Value/Type | Description |
---|---|---|
Message | String | This would be a notarization progress message. |
Status_code | Int | This would be a status code. |
PageCount | Int | This will be your notarized document page count. |
Key | String | This would be the file path where your document file would be stored. |
DocumentHash | String |