Stamp API

Stamp

POST https://api.token-project.eu/notarization/stamp

Creates a timestamp for a given SHA-256 hash hexadecimal digest.

Headers

NameTypeDescription

Content-Type

string

application/x-www-form-urlencoded

Authorization*

string

Bearer: $TOKEN

Request Body

NameTypeDescription

hash*

string

SHA-256 hash

{
    "transactionId": "1b9e6cb48098bc1fd8d8bd44c53e92c394c06a41ed50ab5845ed3e8b36e9f012"
}
curl -L -X POST 'https://api.token-project.eu:443/notarization/stamp' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Authorization: Bearer $TOKEN' \
--data-urlencode 'hash=$HASH'

Get a receipt from a HASH

GET https://api.token-project.eu/notarization/stamp/$STAMP

Retrieves all receipts (also known as proofs) for a certain HASH

Headers

NameTypeDescription

Content-Type

string

application/x-www-form-urlencoded

Authorization*

string

Bearer: $TOKEN

[
    {
        "docType": "stamp",
        "hash": "2f3f3a85340bde09b505b0d37235d1d32a674e43a66229f9a205e7d8d5328ed1"
    }
]
curl -L -X GET 'https://api.token-project.eu:443/notarization/stamp/$STAMP' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Authorization: Bearer $TOKEN'

Get a receipt from a Hash [DEPRECATED]

GET https://api.token-project.eu/notarization/blockinfos/stamp/keys/$HASH

Retrieves all receipts (also known as proofs) for a certain hash. [DEPRECATED] Use get /stamp instead

Headers

NameTypeDescription

Content-Type

string

application/x-www-form-urlencoded

Authorization*

string

Bearer: $TOKEN

[
    {
        "docType": "stamp",
        "hash": "2f3f3a85340bde09b505b0d37235d1d32a674e43a66229f9a205e7d8d5328ed1"
    }
]

All stamps

GET https://api.token-project.eu/notarization/stamps

Retrieves all stamps made by the requesting client, ordered by date, from newest to oldest.

Headers

NameTypeDescription

Content-Type

string

application/x-www-form-urlencoded

Authorization*

string

Bearer: $TOKEN

[
    {
        "docType": "stamp",
        "hash": "2f3f3a85340bde09b505b0d37235d1d32a674e43a66229f9a205e7d8d5328ed1"
    },
    {
        "docType": "stamp",
        "hash": "2f3f3a85340bde09b505b0d37235d1d32a674e43a66229f9a205e7d8d5328ed16"
    },
    {
        "docType": "stamp",
        "hash": "oiam9yZ2U3NzMiLCJvcmdOYW1lIjoiT3JnMSIsImlhdCI6MTU0OTk5NzU3OX0"
    }
    ...
]

Last updated